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.001824/0.001824, allocations: 116 kB / 18.45 MB, free: 4.605 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.002385/0.002385, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.001495/0.001495, allocations: 55.91 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.236/0.3427, allocations: 16.56 MB / 444.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3549, allocations: 4.159 MB / 448.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.3593, allocations: 161.2 kB / 448.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01792/0.3772, allocations: 7.499 MB / 455.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.3846, allocations: 1.336 MB / 457.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0044/0.389, allocations: 1.235 MB / 458.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.4012, allocations: 8.256 MB / 466.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03216/0.4333, allocations: 17.33 MB / 484 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009652/0.443, allocations: 4.898 MB / 488.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.4537, allocations: 5.346 MB / 494.3 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004169/0.4578, allocations: 1.383 MB / 495.7 MB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006454/0.4643, allocations: 1.66 MB / 497.3 MB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004744/0.469, allocations: 2.592 MB / 499.9 MB, free: 8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01058/0.4796, allocations: 5.218 MB / 0.4933 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02451/0.5041, allocations: 18.35 MB / 0.5112 GB, free: 368 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5041, allocations: 4 kB / 0.5112 GB, free: 364 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5041, allocations: 0 / 0.5112 GB, free: 364 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005203/0.5047, allocations: 0 / 0.5112 GB, free: 364 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.03333/0.538, allocations: 10.64 MB / 0.5216 GB, free: 5.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.538, allocations: 8.031 kB / 0.5216 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/0.5587, allocations: 3.71 MB / 0.5252 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.5712, allocations: 5.376 MB / 0.5305 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008663/0.572, allocations: 0.6785 MB / 0.5312 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003868/0.5759, allocations: 0.8944 MB / 0.532 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/0.6152, allocations: 12.74 MB / 0.5445 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004552/0.6156, allocations: 7.953 kB / 0.5445 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003313/0.619, allocations: 380 kB / 0.5448 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004856/0.6194, allocations: 395.1 kB / 0.5452 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02993/0.6494, allocations: 11.43 MB / 0.5564 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09018/0.7396, allocations: 43.7 MB / 0.5991 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.7533, allocations: 10.28 MB / 0.6091 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/0.7564, allocations: 1.542 MB / 0.6106 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/0.7569, allocations: 236.1 kB / 0.6108 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.68e-05/0.7569, allocations: 60.5 kB / 0.6109 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 6.101e-06/0.7569, allocations: 0 / 0.6109 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.01156/0.7685, allocations: 4.688 MB / 0.6155 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.7686, allocations: 77.41 kB / 0.6155 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4498/1.218, allocations: 2.922 MB / 0.6184 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/1.219, allocations: 63.64 kB / 0.6184 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.221, allocations: 3.977 MB / 0.6223 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009274/1.222, allocations: 0.8262 MB / 0.6231 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/1.224, allocations: 0.9597 MB / 0.6241 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/1.224, allocations: 302.2 kB / 0.6244 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/1.227, allocations: 1.976 MB / 0.6263 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.231, allocations: 4.167 MB / 0.6304 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007483/1.239, allocations: 6.517 MB / 0.6367 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.239, allocations: 21.12 kB / 0.6367 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01498/1.254, allocations: 6.523 MB / 0.6431 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.254, allocations: 38.53 kB / 0.6432 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.254, allocations: 75.16 kB / 0.6432 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.255, allocations: 409.1 kB / 0.6436 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005427/1.261, allocations: 1.067 MB / 0.6447 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/1.268, allocations: 4.389 MB / 0.6489 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0052/1.273, allocations: 0.6277 MB / 0.6496 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009992/1.274, allocations: 253.5 kB / 0.6498 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.007698/1.282, allocations: 3.368 MB / 0.6531 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.283, allocations: 285.2 kB / 0.6534 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00802/1.291, allocations: 3.575 MB / 0.6569 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004378/1.295, allocations: 2.813 MB / 0.6596 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.295, allocations: 3.469 kB / 0.6596 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.296, allocations: 15.44 kB / 0.6596 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.31, allocations: 9.874 MB / 0.6693 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.31, allocations: 0 / 0.6693 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.311, allocations: 413.5 kB / 0.6697 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/1.312, allocations: 315.6 kB / 0.67 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.312, allocations: 56.64 kB / 0.67 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/1.315, allocations: 4.188 MB / 0.6741 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.315, allocations: 7.844 kB / 0.6741 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/1.321, allocations: 5.152 MB / 0.6791 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.322, allocations: 0.6085 MB / 0.6797 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/1.322, allocations: 40 kB / 0.6798 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.324, allocations: 145.3 kB / 0.6799 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.324, allocations: 149.7 kB / 0.6801 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.324, allocations: 67.97 kB / 0.6801 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002254/1.326, allocations: 1.967 MB / 0.682 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.326, allocations: 0 / 0.682 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004749/1.331, allocations: 1.988 MB / 0.684 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.0004784/1.331, allocations: 205.8 kB / 0.6842 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006144/1.338, allocations: 4.441 MB / 0.6885 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.338, allocations: 4.125 kB / 0.6885 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.34, allocations: 1.616 MB / 0.6901 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.343, allocations: 0.6868 MB / 0.6908 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/1.363, allocations: 13.1 MB / 0.7036 GB, free: 94.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/1.367, allocations: 5.478 MB / 0.7089 GB, free: 89.18 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009333/1.368, allocations: 284.7 kB / 0.7092 GB, free: 88.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.303e-06/1.368, allocations: 0 / 0.7092 GB, free: 88.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.3809/1.749, allocations: 133.4 MB / 0.8395 GB, free: 167.9 MB / 0.545 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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: 14.935625907994108]