Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2386, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00855/0.2472, allocations: 6.062 MB / 426.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.2508, allocations: 1.647 MB / 428.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.2513, allocations: 47.81 kB / 428.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.252, allocations: 325.4 kB / 428.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.253, allocations: 365.5 kB / 429.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.2536, allocations: 359.5 kB / 429.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.2556, allocations: 2.017 MB / 431.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.2576, allocations: 1.599 MB / 433.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.2587, allocations: 1.04 MB / 434.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.2601, allocations: 1.222 MB / 435.5 MB, free: 336 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.2605, allocations: 308 kB / 435.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.2613, allocations: 0.4918 MB / 436.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006523/0.2619, allocations: 0.7324 MB / 437.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.2631, allocations: 1.264 MB / 438.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.2668, allocations: 3.812 MB / 442.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2668, allocations: 0 / 442.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2668, allocations: 4 kB / 442.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-05/0.2669, allocations: 0 / 442.1 MB, free: 9.707 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.004136/0.271, allocations: 2.521 MB / 444.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2711, allocations: 11.89 kB / 444.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.2716, allocations: 251.4 kB / 444.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.2736, allocations: 1.307 MB / 446.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.2737, allocations: 172.8 kB / 446.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.274, allocations: 220.1 kB / 446.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/0.2782, allocations: 2.538 MB / 449.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.2782, allocations: 0 / 449.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.2784, allocations: 92 kB / 449.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/0.2785, allocations: 56 kB / 449.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.2819, allocations: 2.145 MB / 451.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.2926, allocations: 7.509 MB / 458.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2938, allocations: 1.218 MB / 460.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.2949, allocations: 0.6061 MB / 460.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.2949, allocations: 4.562 kB / 460.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.295, allocations: 39.12 kB / 460.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/0.295, allocations: 0 / 460.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004048/0.299, allocations: 2.454 MB / 463.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.2991, allocations: 55.97 kB / 463.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/0.3001, allocations: 0.7933 MB / 464.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.3001, allocations: 33.7 kB / 464.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/0.3008, allocations: 0.948 MB / 465.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.301, allocations: 238 kB / 465.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.3012, allocations: 146.6 kB / 465.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3014, allocations: 390.8 kB / 465.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.302, allocations: 365.8 kB / 466.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.3027, allocations: 0.5834 MB / 466.8 MB, free: 308 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.304, allocations: 0.9854 MB / 467.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.304, allocations: 0 / 467.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001794/0.3058, allocations: 1.155 MB / 468.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3058, allocations: 11.94 kB / 468.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3058, allocations: 8 kB / 468.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.3061, allocations: 117.2 kB / 469.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.3068, allocations: 175.7 kB / 469.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.3094, allocations: 2.318 MB / 471.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.3098, allocations: 39.97 kB / 471.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.3099, allocations: 36.06 kB / 471.6 MB, free: 11.22 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.001125/0.311, allocations: 0.6573 MB / 472.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.3112, allocations: 99.34 kB / 472.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.3114, allocations: 99.5 kB / 472.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.3114, allocations: 8 kB / 472.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.3114, allocations: 4 kB / 472.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3114, allocations: 3.984 kB / 472.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.3157, allocations: 2.651 MB / 475.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3157, allocations: 0 / 475.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.3162, allocations: 107.8 kB / 475.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.3164, allocations: 101.1 kB / 475.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.3165, allocations: 15.98 kB / 475.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.3187, allocations: 2.275 MB / 477.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3187, allocations: 0 / 477.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.3208, allocations: 1.417 MB / 479.1 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.3212, allocations: 228.6 kB / 479.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.3213, allocations: 15.98 kB / 479.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3217, allocations: 43.91 kB / 479.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3218, allocations: 48.48 kB / 479.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.3218, allocations: 20 kB / 479.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.3226, allocations: 0.5536 MB / 480 MB, free: 2.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3226, allocations: 7.938 kB / 480 MB, free: 2.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001148/0.3238, allocations: 303.9 kB / 480.3 MB, free: 2.289 MB / 382.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.0002631/0.324, allocations: 139.1 kB / 480.4 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.3257, allocations: 0.9587 MB / 481.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3257, allocations: 4 kB / 481.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009621/0.3267, allocations: 0.5463 MB / 481.9 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.3277, allocations: 226.8 kB / 482.1 MB, free: 400 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.3333, allocations: 3.277 MB / 485.4 MB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.3348, allocations: 1.724 MB / 487.1 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005259/0.3353, allocations: 199.1 kB / 487.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3355, allocations: 63.44 kB / 487.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3355, allocations: 0 / 487.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of Templates: time 0.02394/0.3594, allocations: 12.89 MB / 0.4885 GB, free: 14.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.732867338694632]