Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.5 MB / 251.1 MB, free: 8.496 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.83 kB / 369 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2549, allocations: 53.32 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007921/0.2628, allocations: 6.047 MB / 428.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.2676, allocations: 1.694 MB / 430 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008618/0.2684, allocations: 47.81 kB / 430.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.2691, allocations: 325.4 kB / 430.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2703, allocations: 373.5 kB / 430.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.2711, allocations: 359.5 kB / 431.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.2735, allocations: 2.013 MB / 433.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.276, allocations: 2.02 MB / 435.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.2774, allocations: 1.059 MB / 436.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.2791, allocations: 1.222 MB / 437.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.2795, allocations: 308 kB / 437.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008146/0.2803, allocations: 475.6 kB / 438.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007391/0.281, allocations: 0.7325 MB / 438.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.2825, allocations: 1.268 MB / 440.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004319/0.2868, allocations: 3.811 MB / 444 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2868, allocations: 0 / 444 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2868, allocations: 4 kB / 444 MB, free: 2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.631e-05/0.2869, allocations: 0 / 444 MB, free: 2 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004962/0.2919, allocations: 2.522 MB / 446.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2919, allocations: 8.031 kB / 446.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.2928, allocations: 283.3 kB / 446.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.295, allocations: 1.338 MB / 448.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.2951, allocations: 164.9 kB / 448.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/0.2955, allocations: 224.1 kB / 448.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/0.3, allocations: 2.538 MB / 451 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.3, allocations: 0 / 451 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.3002, allocations: 92 kB / 451.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.3003, allocations: 56 kB / 451.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.304, allocations: 2.145 MB / 453.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.316, allocations: 7.494 MB / 460.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3174, allocations: 1.219 MB / 462.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.3185, allocations: 0.5983 MB / 462.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.3186, allocations: 8.562 kB / 462.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3186, allocations: 39.12 kB / 462.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.3186, allocations: 0 / 462.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004612/0.3232, allocations: 2.458 MB / 465.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.3233, allocations: 59.95 kB / 465.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3243, allocations: 0.8011 MB / 466 MB, free: 11.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.3244, allocations: 41.7 kB / 466.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.3251, allocations: 0.948 MB / 467 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.3253, allocations: 234 kB / 467.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.3255, allocations: 150.6 kB / 467.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3257, allocations: 394.7 kB / 467.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.3263, allocations: 365.8 kB / 468.1 MB, free: 9.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.3271, allocations: 0.5751 MB / 468.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3286, allocations: 0.9815 MB / 469.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3286, allocations: 4 kB / 469.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001906/0.3305, allocations: 1.151 MB / 470.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3305, allocations: 15.94 kB / 470.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3305, allocations: 11.94 kB / 470.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.3308, allocations: 108.8 kB / 471 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.3315, allocations: 179.8 kB / 471.1 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.334, allocations: 2.323 MB / 473.5 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.3345, allocations: 39.97 kB / 473.5 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.3345, allocations: 28 kB / 473.5 MB, free: 3.453 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.3356, allocations: 0.6535 MB / 474.2 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3358, allocations: 91.44 kB / 474.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.336, allocations: 107.7 kB / 474.4 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.336, allocations: 8 kB / 474.4 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.336, allocations: 0 / 474.4 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.336, allocations: 7.984 kB / 474.4 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.3406, allocations: 2.659 MB / 477.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3406, allocations: 0 / 477.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.341, allocations: 107.9 kB / 477.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.3413, allocations: 100.7 kB / 477.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.3413, allocations: 15.98 kB / 477.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.3438, allocations: 2.279 MB / 479.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3438, allocations: 0 / 479.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.3463, allocations: 1.421 MB / 481 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.3466, allocations: 224.6 kB / 481.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3468, allocations: 19.98 kB / 481.2 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.3472, allocations: 43.97 kB / 481.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3473, allocations: 52.42 kB / 481.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.3474, allocations: 20 kB / 481.3 MB, free: 11.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007878/0.3482, allocations: 0.5576 MB / 481.9 MB, free: 10.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3482, allocations: 0 / 481.9 MB, free: 10.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001132/0.3493, allocations: 304 kB / 482.2 MB, free: 10.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002898/0.3496, allocations: 131.1 kB / 482.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.3514, allocations: 0.9755 MB / 483.3 MB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.3514, allocations: 0 / 483.3 MB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.3523, allocations: 0.525 MB / 483.8 MB, free: 8.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3534, allocations: 238.9 kB / 484 MB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/0.359, allocations: 3.292 MB / 487.3 MB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.3605, allocations: 1.724 MB / 489.1 MB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005904/0.3611, allocations: 203.1 kB / 489.3 MB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3613, allocations: 63.42 kB / 489.3 MB, free: 3.258 MB / 398.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3613, allocations: 0 / 489.3 MB, free: 3.258 MB / 398.1 MB Notification: Performance of Templates: time 0.02419/0.3855, allocations: 12.71 MB / 0.4903 GB, free: 6.688 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches