Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001588/0.001588, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001935/0.001935, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.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_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_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.94 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2507, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007698/0.2584, allocations: 5.358 MB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.2626, allocations: 1.639 MB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.2639, allocations: 63.62 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.2647, allocations: 317.4 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.2663, allocations: 393.5 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.2672, allocations: 355.5 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.2698, allocations: 2.017 MB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.2722, allocations: 1.606 MB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.2738, allocations: 1.071 MB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.2758, allocations: 1.226 MB / 446.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005218/0.2763, allocations: 308 kB / 446.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.2773, allocations: 467.7 kB / 447.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.278, allocations: 0.7325 MB / 447.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.2794, allocations: 1.019 MB / 448.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.2836, allocations: 3.819 MB / 452.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2836, allocations: 0 / 452.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2836, allocations: 3.938 kB / 452.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.089e-05/0.2837, allocations: 4 kB / 452.7 MB, free: 2.211 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.004882/0.2886, allocations: 2.446 MB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2887, allocations: 8.031 kB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008498/0.2895, allocations: 283.3 kB / 455.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.2922, allocations: 1.273 MB / 456.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.2923, allocations: 172.9 kB / 456.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.2927, allocations: 224.1 kB / 457.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004726/0.2974, allocations: 2.617 MB / 459.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.2974, allocations: 0 / 459.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.2976, allocations: 92 kB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.652e-05/0.2977, allocations: 63.98 kB / 459.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.3016, allocations: 2.137 MB / 462 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.3137, allocations: 6.379 MB / 468.4 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3148, allocations: 0.6986 MB / 469.1 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.316, allocations: 0.5868 MB / 469.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.316, allocations: 8.5 kB / 469.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.316, allocations: 43.06 kB / 469.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.206e-06/0.316, allocations: 0 / 469.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004509/0.3206, allocations: 2.383 MB / 472.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3206, allocations: 60.06 kB / 472.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3217, allocations: 0.7852 MB / 472.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3218, allocations: 41.69 kB / 473 MB, free: 13.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006974/0.3225, allocations: 0.9519 MB / 473.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.3227, allocations: 234 kB / 474.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.323, allocations: 142.6 kB / 474.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3232, allocations: 394.7 kB / 474.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/0.3238, allocations: 369.8 kB / 475 MB, free: 11.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/0.3246, allocations: 0.579 MB / 475.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.326, allocations: 0.9833 MB / 476.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.326, allocations: 4 kB / 476.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002058/0.328, allocations: 1.153 MB / 477.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.328, allocations: 8 kB / 477.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.3281, allocations: 7.938 kB / 477.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.3284, allocations: 117.2 kB / 477.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.3291, allocations: 171.7 kB / 478.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.3315, allocations: 2.18 MB / 480.2 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006031/0.3321, allocations: 35.97 kB / 480.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.3322, allocations: 35.98 kB / 480.3 MB, free: 5.809 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.001076/0.3333, allocations: 0.6496 MB / 481 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.3335, allocations: 83.48 kB / 481 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.3337, allocations: 99.45 kB / 481.1 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/0.3337, allocations: 11.94 kB / 481.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3337, allocations: 4 kB / 481.1 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3337, allocations: 8.047 kB / 481.2 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.3383, allocations: 2.224 MB / 483.4 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3383, allocations: 4 kB / 483.4 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.3388, allocations: 107.9 kB / 483.5 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.339, allocations: 92.78 kB / 483.6 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.3391, allocations: 24.05 kB / 483.6 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.3413, allocations: 2.125 MB / 485.7 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3413, allocations: 4.031 kB / 485.7 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.3437, allocations: 1.423 MB / 487.2 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.3442, allocations: 155.4 kB / 487.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.3443, allocations: 12 kB / 487.3 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.3447, allocations: 43.89 kB / 487.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3448, allocations: 52.34 kB / 487.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.3449, allocations: 19.94 kB / 487.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007799/0.3456, allocations: 0.5497 MB / 488 MB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3456, allocations: 4.062 kB / 488 MB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3468, allocations: 299.9 kB / 488.3 MB, free: 13.62 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.0002745/0.3471, allocations: 135.1 kB / 488.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3488, allocations: 0.9672 MB / 489.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3488, allocations: 0 / 489.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.3497, allocations: 0.5343 MB / 489.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.351, allocations: 213.4 kB / 490.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.3573, allocations: 3.278 MB / 493.4 MB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.3587, allocations: 1.1 MB / 494.5 MB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.359, allocations: 71.42 kB / 494.6 MB, free: 7.207 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.359, allocations: 0 / 494.6 MB, free: 7.207 MB / 398.1 MB Notification: Performance of Templates: time 0.04301/0.402, allocations: 29.35 MB / 0.5116 GB, free: 9.895 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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: 9.966941463993862]