Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001796/0.001796, allocations: 89.02 kB / 21.44 MB, free: 272 kB / 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.001781/0.001781, allocations: 163.6 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.125e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01899/0.01902, allocations: 14.53 MB / 313.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009907/0.02892, allocations: 4.135 MB / 317.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.03181, allocations: 139.3 kB / 317.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1748/0.2066, allocations: 7.358 MB / 325.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.2122, allocations: 1.427 MB / 326.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.2157, allocations: 1.335 MB / 327.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.227, allocations: 8.903 MB / 336.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02345/0.2505, allocations: 14.36 MB / 351.1 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/0.2642, allocations: 7.518 MB / 358.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.2746, allocations: 4.849 MB / 363.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003854/0.2784, allocations: 1.402 MB / 364.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006213/0.2846, allocations: 1.664 MB / 366.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005182/0.2898, allocations: 2.756 MB / 369.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008348/0.2982, allocations: 3.596 MB / 372.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02405/0.3222, allocations: 18.75 MB / 391.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3222, allocations: 4 kB / 391.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3222, allocations: 0 / 391.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001117/0.3233, allocations: 0 / 391.7 MB, free: 14.91 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03233/0.3557, allocations: 10.81 MB / 402.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3557, allocations: 11.98 kB / 402.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03151/0.3872, allocations: 5.759 MB / 408.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.3995, allocations: 4.908 MB / 413.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/0.4006, allocations: 0.7036 MB / 413.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004602/0.4052, allocations: 0.9262 MB / 414.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03768/0.4429, allocations: 13.68 MB / 428.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003485/0.4432, allocations: 7.953 kB / 428.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00244/0.4457, allocations: 392.2 kB / 428.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005536/0.4462, allocations: 456 kB / 429.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02942/0.4757, allocations: 12.78 MB / 442.1 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07728/0.5529, allocations: 39.31 MB / 481.4 MB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.5653, allocations: 5.297 MB / 486.7 MB, free: 328 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2751/0.8404, allocations: 1.702 MB / 488.4 MB, free: 130 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009822/0.8502, allocations: 5.391 MB / 493.8 MB, free: 128.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.8502, allocations: 53.11 kB / 493.8 MB, free: 128.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=188): time 4.588e-06/0.8502, allocations: 0.75 kB / 493.8 MB, free: 128.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.008311/0.8586, allocations: 4.233 MB / 498.1 MB, free: 127.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.8586, allocations: 71.91 kB / 498.1 MB, free: 127 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005442/0.864, allocations: 3.474 MB / 0.4899 GB, free: 125.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002669/0.8643, allocations: 56.73 kB / 0.4899 GB, free: 125.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/0.8663, allocations: 4.34 MB / 0.4942 GB, free: 123.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/0.8669, allocations: 0.7082 MB / 0.4948 GB, free: 122.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.8681, allocations: 1.054 MB / 0.4959 GB, free: 122.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.8682, allocations: 305.1 kB / 0.4962 GB, free: 121.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.8706, allocations: 2.042 MB / 0.4982 GB, free: 121.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.8738, allocations: 4.691 MB / 0.5027 GB, free: 116.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/0.8795, allocations: 7.094 MB / 0.5097 GB, free: 111.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.478e-05/0.8796, allocations: 26.38 kB / 0.5097 GB, free: 111.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009122/0.8887, allocations: 7.007 MB / 0.5165 GB, free: 108 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.8887, allocations: 47.94 kB / 0.5166 GB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.331e-05/0.8888, allocations: 92 kB / 0.5167 GB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.8896, allocations: 432.3 kB / 0.5171 GB, free: 107.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/0.8927, allocations: 1.181 MB / 0.5182 GB, free: 106.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.8966, allocations: 4.176 MB / 0.5223 GB, free: 102.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/0.9005, allocations: 0.7306 MB / 0.523 GB, free: 101.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/0.901, allocations: 283.8 kB / 0.5233 GB, free: 101.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005327/0.9063, allocations: 3.493 MB / 0.5267 GB, free: 98.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/0.9071, allocations: 309.9 kB / 0.527 GB, free: 98.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.9115, allocations: 3.295 MB / 0.5302 GB, free: 95.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002814/0.9144, allocations: 2.534 MB / 0.5327 GB, free: 92.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9144, allocations: 11.66 kB / 0.5327 GB, free: 92.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.9144, allocations: 11.95 kB / 0.5327 GB, free: 92.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.9254, allocations: 7.424 MB / 0.54 GB, free: 85.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9254, allocations: 0 / 0.54 GB, free: 85.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.9268, allocations: 359.5 kB / 0.5403 GB, free: 85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006489/0.9275, allocations: 320.5 kB / 0.5406 GB, free: 84.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.9276, allocations: 39.98 kB / 0.5407 GB, free: 84.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.9312, allocations: 4.002 MB / 0.5446 GB, free: 80.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9312, allocations: 0 / 0.5446 GB, free: 80.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/0.9363, allocations: 4.701 MB / 0.5492 GB, free: 75.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.9374, allocations: 0.5405 MB / 0.5497 GB, free: 75.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.9377, allocations: 32.88 kB / 0.5497 GB, free: 75.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.9389, allocations: 135.8 kB / 0.5498 GB, free: 75.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.9392, allocations: 133.7 kB / 0.55 GB, free: 74.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.9393, allocations: 55.98 kB / 0.55 GB, free: 74.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002666/0.9419, allocations: 2.17 MB / 0.5521 GB, free: 72.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9419, allocations: 8.062 kB / 0.5522 GB, free: 72.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004887/0.9468, allocations: 2.054 MB / 0.5542 GB, free: 70.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004598/0.9473, allocations: 205.1 kB / 0.5544 GB, free: 70.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.9532, allocations: 4.522 MB / 0.5588 GB, free: 65.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/0.9532, allocations: 0 / 0.5588 GB, free: 65.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.9549, allocations: 1.484 MB / 0.5602 GB, free: 64.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.9581, allocations: 0.6736 MB / 0.5609 GB, free: 63.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.9777, allocations: 14.01 MB / 0.5746 GB, free: 49.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/0.9824, allocations: 5.336 MB / 0.5798 GB, free: 44.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004992/0.9874, allocations: 1.813 MB / 0.5815 GB, free: 42.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.988, allocations: 240.5 kB / 0.5818 GB, free: 42.37 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.988, allocations: 4 kB / 0.5818 GB, free: 42.37 MB / 430.1 MB Notification: Performance of Templates: time 0.06127/1.049, allocations: 35.88 MB / 0.6168 GB, free: 6.484 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 6.37382185831666]