Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.0007583/0.0007583, allocations: 84 kB / 21.43 MB, free: 3.129 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.003099/0.003099, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 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 0.8263/0.8263, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.737e-05, allocations: 9.453 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01015/0.01016, allocations: 14.25 MB / 334 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009358/0.01952, allocations: 3.978 MB / 337.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.02353, allocations: 159.2 kB / 338.1 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.03587, allocations: 7.336 MB / 345.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.0427, allocations: 1.505 MB / 346.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.04606, allocations: 1.099 MB / 348 MB, free: 9.402 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006615/0.05268, allocations: 8.581 MB / 356.6 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.06589, allocations: 14.25 MB / 370.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005742/0.07163, allocations: 7.318 MB / 378.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003563/0.07519, allocations: 4.632 MB / 382.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009158/0.07611, allocations: 1.383 MB / 384.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.07754, allocations: 1.648 MB / 385.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.07896, allocations: 2.63 MB / 388.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.08116, allocations: 3.486 MB / 392 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.09152, allocations: 18.51 MB / 410.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.09152, allocations: 0 / 410.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.09152, allocations: 0 / 410.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001718/0.0917, allocations: 4 kB / 410.5 MB, free: 10.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.01348/0.1052, allocations: 10.46 MB / 420.9 MB, free: 108 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1052, allocations: 8.031 kB / 420.9 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008719/0.1139, allocations: 3.786 MB / 424.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005477/0.1194, allocations: 5.413 MB / 430.1 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.1197, allocations: 0.6807 MB / 430.8 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008354/0.1205, allocations: 0.8944 MB / 431.7 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.135, allocations: 12.79 MB / 444.5 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.1351, allocations: 15.98 kB / 444.5 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.1357, allocations: 376 kB / 444.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.1359, allocations: 395.1 kB / 445.3 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2687/0.4046, allocations: 11.39 MB / 456.7 MB, free: 108 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03242/0.437, allocations: 37.33 MB / 494 MB, free: 77.48 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.4412, allocations: 4.152 MB / 498.1 MB, free: 73.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.4423, allocations: 1.532 MB / 499.7 MB, free: 72.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.4425, allocations: 49.97 kB / 499.7 MB, free: 72.02 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4425, allocations: 64.48 kB / 499.8 MB, free: 71.95 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.549e-06/0.4425, allocations: 2.531 kB / 499.8 MB, free: 71.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004617/0.4471, allocations: 4.592 MB / 0.4926 GB, free: 67.37 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.4472, allocations: 73.41 kB / 0.4926 GB, free: 67.28 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.4494, allocations: 3.038 MB / 0.4956 GB, free: 64.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.4494, allocations: 61.7 kB / 0.4957 GB, free: 64.26 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/0.4504, allocations: 3.964 MB / 0.4995 GB, free: 60.64 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.4507, allocations: 0.8204 MB / 0.5003 GB, free: 59.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/0.4514, allocations: 0.9449 MB / 0.5012 GB, free: 58.88 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.962e-05/0.4514, allocations: 301.1 kB / 0.5015 GB, free: 58.58 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.4529, allocations: 1.969 MB / 0.5035 GB, free: 56.61 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.4549, allocations: 4.161 MB / 0.5075 GB, free: 51.38 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.4586, allocations: 6.509 MB / 0.5139 GB, free: 43.82 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.4586, allocations: 27.94 kB / 0.5139 GB, free: 43.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00493/0.4635, allocations: 6.504 MB / 0.5203 GB, free: 37.28 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.4636, allocations: 43.92 kB / 0.5203 GB, free: 37.23 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/0.4636, allocations: 76 kB / 0.5204 GB, free: 37.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.4641, allocations: 413.4 kB / 0.5208 GB, free: 36.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.4656, allocations: 1.061 MB / 0.5218 GB, free: 35.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.4683, allocations: 4.194 MB / 0.5259 GB, free: 31.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.4699, allocations: 0.6286 MB / 0.5265 GB, free: 30.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.4701, allocations: 248 kB / 0.5267 GB, free: 30.52 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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.003768/0.4738, allocations: 3.373 MB / 0.53 GB, free: 27.13 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.4741, allocations: 282.1 kB / 0.5303 GB, free: 26.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.4772, allocations: 3.578 MB / 0.5338 GB, free: 23.25 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00211/0.4793, allocations: 2.799 MB / 0.5365 GB, free: 20.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4793, allocations: 8 kB / 0.5365 GB, free: 20.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4793, allocations: 11.95 kB / 0.5366 GB, free: 20.43 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007536/0.4868, allocations: 7.979 MB / 0.5443 GB, free: 12.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4868, allocations: 0 / 0.5443 GB, free: 12.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.4876, allocations: 415.4 kB / 0.5447 GB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.488, allocations: 316.7 kB / 0.545 GB, free: 11.72 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.488, allocations: 43.98 kB / 0.5451 GB, free: 11.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.4905, allocations: 4.008 MB / 0.549 GB, free: 7.57 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4905, allocations: 4 kB / 0.549 GB, free: 7.566 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.4945, allocations: 5.12 MB / 0.554 GB, free: 2.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.4953, allocations: 0.5522 MB / 0.5545 GB, free: 1.855 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.4954, allocations: 39.95 kB / 0.5546 GB, free: 1.816 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.4959, allocations: 139.8 kB / 0.5547 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.4961, allocations: 153.6 kB / 0.5549 GB, free: 1.527 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.4962, allocations: 63.98 kB / 0.5549 GB, free: 1.465 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001784/0.498, allocations: 1.939 MB / 0.5568 GB, free: 15.52 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.498, allocations: 0 / 0.5568 GB, free: 15.52 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004373/0.5023, allocations: 1.992 MB / 0.5588 GB, free: 13.52 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (215): * Single equations (assignments): 213 * 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.0003573/0.5027, allocations: 222.3 kB / 0.559 GB, free: 13.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004604/0.5073, allocations: 4.429 MB / 0.5633 GB, free: 8.863 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5073, allocations: 4 kB / 0.5633 GB, free: 8.859 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.5089, allocations: 1.616 MB / 0.5649 GB, free: 7.234 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5105, allocations: 0.6715 MB / 0.5655 GB, free: 6.578 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.528, allocations: 13.24 MB / 0.5785 GB, free: 9.27 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003651/0.5316, allocations: 5.008 MB / 0.5834 GB, free: 4.215 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/0.5323, allocations: 264.5 kB / 0.5836 GB, free: 3.957 MB / 442.8 MB Notification: Performance of SimCode: time 1.002e-06/0.5323, allocations: 0 / 0.5836 GB, free: 3.957 MB / 442.8 MB Notification: Performance of Templates: time 0.243/0.7753, allocations: 134.9 MB / 0.7154 GB, free: 74.99 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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: 8.529725477099419]