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.001697/0.001697, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001457/0.001457, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.494/1.494, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 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 1.493e-06/1.493e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.129e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008261/0.008293, allocations: 5.34 MB / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.012, allocations: 1.616 MB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/0.01253, allocations: 55.69 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.01324, allocations: 329.3 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.01447, allocations: 393.1 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.01528, allocations: 355.4 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.01803, allocations: 2.074 MB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.02041, allocations: 1.552 MB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.02284, allocations: 1.587 MB / 280.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.02459, allocations: 1.021 MB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.02507, allocations: 308 kB / 281.9 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.02596, allocations: 463.6 kB / 282.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007774/0.02673, allocations: 0.7479 MB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.02811, allocations: 0.8693 MB / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.0326, allocations: 3.844 MB / 287.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.03261, allocations: 4 kB / 287.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03261, allocations: 0 / 287.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.341e-05/0.03267, allocations: 0 / 287.8 MB, free: 2.086 MB / 266.7 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.1623/0.195, allocations: 2.415 MB / 290.3 MB, free: 31.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.195, allocations: 10.19 kB / 290.3 MB, free: 31.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.196, allocations: 440.4 kB / 290.7 MB, free: 31.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.1983, allocations: 1.297 MB / 292 MB, free: 30.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.1984, allocations: 167.7 kB / 292.2 MB, free: 30.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.1987, allocations: 223.9 kB / 292.4 MB, free: 30.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/0.2038, allocations: 2.62 MB / 295 MB, free: 29.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.2038, allocations: 0 / 295 MB, free: 29.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.204, allocations: 95.34 kB / 295.1 MB, free: 29.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/0.2041, allocations: 56.34 kB / 295.1 MB, free: 29.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.2076, allocations: 2.143 MB / 297.3 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.2177, allocations: 6.597 MB / 303.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.2185, allocations: 0.6832 MB / 304.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.2194, allocations: 0.6013 MB / 305.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.2195, allocations: 12.48 kB / 305.2 MB, free: 23.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2195, allocations: 43 kB / 305.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.916e-06/0.2195, allocations: 0 / 305.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00353/0.223, allocations: 2.393 MB / 307.6 MB, free: 21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.223, allocations: 60.06 kB / 307.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/0.2238, allocations: 0.7774 MB / 308.4 MB, free: 20.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.2238, allocations: 37.7 kB / 308.5 MB, free: 20.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.2241, allocations: 0.9517 MB / 309.4 MB, free: 19.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2242, allocations: 229.6 kB / 309.7 MB, free: 18.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.2244, allocations: 149.9 kB / 309.8 MB, free: 18.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.2245, allocations: 394.7 kB / 310.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.225, allocations: 365.7 kB / 310.6 MB, free: 18.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.2255, allocations: 0.5751 MB / 311.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2265, allocations: 0.9903 MB / 312.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2265, allocations: 4 kB / 312.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001546/0.228, allocations: 1.181 MB / 313.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2281, allocations: 12.08 kB / 313.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2281, allocations: 12 kB / 313.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.2284, allocations: 108.8 kB / 313.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.229, allocations: 171.7 kB / 313.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.2307, allocations: 2.191 MB / 315.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.2312, allocations: 39.97 kB / 315.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.2312, allocations: 28 kB / 315.9 MB, free: 12.43 MB / 266.7 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.0008135/0.232, allocations: 0.6532 MB / 316.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.2322, allocations: 107.5 kB / 316.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.2324, allocations: 99.3 kB / 316.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.2324, allocations: 8 kB / 316.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.2324, allocations: 7.938 kB / 316.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2324, allocations: 3.984 kB / 316.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.2357, allocations: 2.219 MB / 319 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2357, allocations: 0 / 319 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.2361, allocations: 115.7 kB / 319.1 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.2364, allocations: 108.9 kB / 319.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.2365, allocations: 15.98 kB / 319.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.238, allocations: 2.129 MB / 321.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.238, allocations: 4.031 kB / 321.3 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.2398, allocations: 1.442 MB / 322.8 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.2401, allocations: 151.5 kB / 322.9 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2402, allocations: 24.06 kB / 322.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.2406, allocations: 39.95 kB / 323 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.2407, allocations: 48.41 kB / 323 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.2408, allocations: 19.98 kB / 323 MB, free: 5.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005739/0.2414, allocations: 0.538 MB / 323.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2414, allocations: 0 / 323.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001028/0.2424, allocations: 303.9 kB / 323.9 MB, free: 4.23 MB / 266.7 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.0002487/0.2426, allocations: 146.4 kB / 324 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.244, allocations: 0.9644 MB / 325 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.244, allocations: 0 / 325 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.2447, allocations: 0.54 MB / 325.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2458, allocations: 211.9 kB / 325.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.2509, allocations: 3.271 MB / 329 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.2529, allocations: 1.147 MB / 330.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006452/0.2535, allocations: 201.1 kB / 330.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.2537, allocations: 68.48 kB / 330.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2537, allocations: 0 / 330.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of Templates: time 0.02578/0.2795, allocations: 12.28 MB / 342.7 MB, free: 1.527 MB / 282.7 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.753739482956007]