Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 214.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 43.92 kB / 378.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3019, allocations: 53.37 MB / 431.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01049/0.3124, allocations: 8.169 MB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005049/0.3175, allocations: 2.684 MB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.3185, allocations: 27.88 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.3201, allocations: 0.5715 MB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3214, allocations: 0.4886 MB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.3219, allocations: 259.6 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3236, allocations: 1.478 MB / 445.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006736/0.3243, allocations: 403.2 kB / 445.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000829/0.3251, allocations: 0.572 MB / 446.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007293/0.3259, allocations: 0.5989 MB / 446.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.326, allocations: 136 kB / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.3263, allocations: 183.9 kB / 447.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.3266, allocations: 279 kB / 447.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006206/0.3272, allocations: 0.6649 MB / 448.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.3291, allocations: 1.729 MB / 449.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3291, allocations: 3.938 kB / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3291, allocations: 0 / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.3292, allocations: 0 / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002404/0.3316, allocations: 1.4 MB / 451.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3316, allocations: 8.031 kB / 451.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.3323, allocations: 196 kB / 451.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.3335, allocations: 0.6767 MB / 452.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.3336, allocations: 81.98 kB / 452.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3337, allocations: 99.95 kB / 452.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.3354, allocations: 0.9346 MB / 453.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.3354, allocations: 0 / 453.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.3355, allocations: 44 kB / 453.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.3355, allocations: 24 kB / 453.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.3368, allocations: 0.6325 MB / 453.9 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.3422, allocations: 3.782 MB / 457.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.3429, allocations: 347.4 kB / 458.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.3434, allocations: 256.9 kB / 458.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.3435, allocations: 8.312 kB / 458.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.3435, allocations: 38.89 kB / 458.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.3435, allocations: 0 / 458.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002696/0.3462, allocations: 1.264 MB / 459.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.3463, allocations: 81.11 kB / 459.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3474, allocations: 0.8291 MB / 460.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.3475, allocations: 33.7 kB / 460.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.348, allocations: 0.5735 MB / 461.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3481, allocations: 162.6 kB / 461.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3483, allocations: 134.5 kB / 461.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3484, allocations: 338 kB / 461.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3488, allocations: 165.9 kB / 461.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.3494, allocations: 460 kB / 462.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.3504, allocations: 0.6661 MB / 463 MB, free: 6.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3504, allocations: 4 kB / 463 MB, free: 6.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00139/0.3518, allocations: 0.7671 MB / 463.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3518, allocations: 8 kB / 463.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3518, allocations: 8 kB / 463.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/0.3521, allocations: 97.8 kB / 463.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.3526, allocations: 151.8 kB / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.3554, allocations: 2.919 MB / 467 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.3559, allocations: 31.94 kB / 467 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.356, allocations: 36 kB / 467.1 MB, free: 2.438 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.3565, allocations: 269.5 kB / 467.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3567, allocations: 91.53 kB / 467.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3577, allocations: 495.5 kB / 467.9 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3577, allocations: 11.98 kB / 467.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3577, allocations: 128 / 467.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3577, allocations: 0 / 467.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.3599, allocations: 1.415 MB / 469.3 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.36, allocations: 224 / 469.3 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.3603, allocations: 75.91 kB / 469.4 MB, free: 0 / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.3605, allocations: 65.67 kB / 469.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.3605, allocations: 12 kB / 469.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.3632, allocations: 2.927 MB / 472.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.3632, allocations: 3.938 kB / 472.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3645, allocations: 0.7667 MB / 473.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.3648, allocations: 127.4 kB / 473.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.3649, allocations: 11.94 kB / 473.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3653, allocations: 31.97 kB / 473.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.3654, allocations: 35.88 kB / 473.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.3654, allocations: 16 kB / 473.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007739/0.3662, allocations: 0.5654 MB / 473.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3662, allocations: 0 / 473.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008008/0.367, allocations: 204 kB / 474.1 MB, free: 10.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.3672, allocations: 125.2 kB / 474.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.3685, allocations: 0.6677 MB / 474.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3685, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006671/0.3691, allocations: 425 kB / 475.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.3701, allocations: 228.6 kB / 475.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.373, allocations: 1.745 MB / 477.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.3737, allocations: 0.9969 MB / 478.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.3741, allocations: 111.2 kB / 478.4 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3742, allocations: 55.44 kB / 478.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3742, allocations: 3.938 kB / 478.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of Templates: time 0.02232/0.3965, allocations: 11.17 MB / 489.7 MB, free: 11.45 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0830036390107125]