Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001449/0.001449, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001541/0.001541, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 51.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 53.32 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.216/0.325, allocations: 16.58 MB / 443.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3361, allocations: 4.15 MB / 447.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004375/0.3405, allocations: 161.7 kB / 447.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01824/0.3587, allocations: 7.5 MB / 455.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.3658, allocations: 1.332 MB / 456.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00422/0.37, allocations: 1.242 MB / 457.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01193/0.3819, allocations: 8.257 MB / 466 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03258/0.4145, allocations: 17.33 MB / 483.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.426, allocations: 4.902 MB / 488.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.437, allocations: 5.353 MB / 493.6 MB, free: 13.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004509/0.4415, allocations: 1.383 MB / 495 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006735/0.4482, allocations: 1.66 MB / 496.7 MB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004851/0.4531, allocations: 2.58 MB / 499.2 MB, free: 8.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.4641, allocations: 5.214 MB / 0.4926 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02924/0.4933, allocations: 18.36 MB / 0.5106 GB, free: 428 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4933, allocations: 0 / 0.5106 GB, free: 428 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4933, allocations: 0 / 0.5106 GB, free: 428 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005512/0.4939, allocations: 0 / 0.5106 GB, free: 428 kB / 414.1 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.05026/0.5441, allocations: 10.63 MB / 0.5209 GB, free: 5.695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5442, allocations: 8.031 kB / 0.521 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02195/0.5661, allocations: 3.702 MB / 0.5246 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.5794, allocations: 5.394 MB / 0.5298 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008775/0.5803, allocations: 0.6824 MB / 0.5305 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003712/0.584, allocations: 0.8789 MB / 0.5314 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03506/0.619, allocations: 12.74 MB / 0.5438 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/0.6194, allocations: 7.938 kB / 0.5438 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/0.6218, allocations: 376 kB / 0.5442 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000448/0.6223, allocations: 403.1 kB / 0.5445 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.6487, allocations: 11.42 MB / 0.5557 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08057/0.7292, allocations: 43.72 MB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/0.7431, allocations: 10.28 MB / 0.6084 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.746, allocations: 1.53 MB / 0.6099 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/0.7464, allocations: 236.1 kB / 0.6102 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.7465, allocations: 64.5 kB / 0.6102 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.518e-06/0.7465, allocations: 0 / 0.6102 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.01117/0.7577, allocations: 4.68 MB / 0.6148 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.7578, allocations: 73.41 kB / 0.6149 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3872/1.145, allocations: 2.931 MB / 0.6177 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/1.145, allocations: 62.91 kB / 0.6178 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002034/1.147, allocations: 3.974 MB / 0.6217 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006906/1.148, allocations: 0.8304 MB / 0.6225 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/1.149, allocations: 0.961 MB / 0.6234 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/1.149, allocations: 304.3 kB / 0.6237 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/1.152, allocations: 1.971 MB / 0.6256 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.156, allocations: 4.167 MB / 0.6297 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/1.163, allocations: 6.517 MB / 0.6361 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-05/1.163, allocations: 21.41 kB / 0.6361 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01046/1.174, allocations: 6.524 MB / 0.6425 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/1.174, allocations: 37.91 kB / 0.6425 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/1.174, allocations: 73.88 kB / 0.6426 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/1.175, allocations: 412.7 kB / 0.643 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/1.178, allocations: 1.068 MB / 0.644 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/1.183, allocations: 4.383 MB / 0.6483 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/1.186, allocations: 0.6317 MB / 0.6489 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/1.187, allocations: 253.2 kB / 0.6491 GB, free: 134.8 MB / 0.5138 GB 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.004851/1.192, allocations: 3.363 MB / 0.6524 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/1.192, allocations: 291.7 kB / 0.6527 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/1.198, allocations: 3.574 MB / 0.6562 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003737/1.202, allocations: 2.81 MB / 0.6589 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.202, allocations: 4.719 kB / 0.6589 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.202, allocations: 16.97 kB / 0.659 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.215, allocations: 9.873 MB / 0.6686 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/1.215, allocations: 0.6875 kB / 0.6686 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.217, allocations: 413 kB / 0.669 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/1.218, allocations: 317 kB / 0.6693 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/1.218, allocations: 51.19 kB / 0.6693 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/1.222, allocations: 4.203 MB / 0.6734 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.222, allocations: 0 / 0.6734 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/1.228, allocations: 5.155 MB / 0.6785 GB, free: 119.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.229, allocations: 0.6119 MB / 0.6791 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/1.229, allocations: 36 kB / 0.6791 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.23, allocations: 135.8 kB / 0.6792 GB, free: 119 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/1.23, allocations: 145.7 kB / 0.6794 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.231, allocations: 76.03 kB / 0.6795 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002299/1.233, allocations: 1.963 MB / 0.6814 GB, free: 116.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/1.233, allocations: 0 / 0.6814 GB, free: 116.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004414/1.237, allocations: 1.988 MB / 0.6833 GB, free: 114.8 MB / 0.5138 GB 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.0003848/1.238, allocations: 215.2 kB / 0.6835 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.00585/1.243, allocations: 4.435 MB / 0.6878 GB, free: 110.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.243, allocations: 0 / 0.6878 GB, free: 110.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.245, allocations: 1.625 MB / 0.6894 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.249, allocations: 0.6801 MB / 0.6901 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.269, allocations: 13.38 MB / 0.7032 GB, free: 94.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00546/1.274, allocations: 5.639 MB / 0.7087 GB, free: 88.82 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00353/1.277, allocations: 1.693 MB / 0.7103 GB, free: 87.12 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000709/1.278, allocations: 243.4 kB / 0.7106 GB, free: 86.89 MB / 0.5138 GB Notification: Performance of SimCode: time 1.333e-06/1.278, allocations: 0 / 0.7106 GB, free: 86.89 MB / 0.5138 GB Notification: Performance of Templates: time 0.06716/1.345, allocations: 40.95 MB / 0.7505 GB, free: 46.2 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.003555066883564]