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.001647/0.001647, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001482/0.001482, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001602/0.001602, allocations: 43.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2547, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01831/0.273, allocations: 14.25 MB / 445.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2831, allocations: 4.027 MB / 449.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.2867, allocations: 171.2 kB / 450 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01802/0.3047, allocations: 6.906 MB / 456.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.3114, allocations: 1.343 MB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004561/0.3159, allocations: 1.231 MB / 459.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01147/0.3274, allocations: 8.3 MB / 467.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03028/0.3577, allocations: 14.36 MB / 482.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008015/0.3657, allocations: 4.91 MB / 487.1 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009299/0.375, allocations: 5.357 MB / 492.4 MB, free: 9.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003821/0.3788, allocations: 1.383 MB / 493.8 MB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.3839, allocations: 1.668 MB / 495.5 MB, free: 6.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004762/0.3886, allocations: 2.591 MB / 498.1 MB, free: 3.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008774/0.3974, allocations: 4.047 MB / 0.4904 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02348/0.4209, allocations: 18.44 MB / 0.5084 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4209, allocations: 0 / 0.5084 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4209, allocations: 3.938 kB / 0.5084 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000455/0.4214, allocations: 0 / 0.5084 GB, free: 13.3 MB / 430.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.0319/0.4533, allocations: 10.55 MB / 0.5187 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4533, allocations: 12.02 kB / 0.5187 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/0.4745, allocations: 3.714 MB / 0.5223 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.4888, allocations: 5.417 MB / 0.5276 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007505/0.4896, allocations: 0.6862 MB / 0.5283 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003679/0.4932, allocations: 0.8867 MB / 0.5291 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4163/0.9096, allocations: 12.82 MB / 0.5417 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002324/0.9098, allocations: 17.41 kB / 0.5417 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/0.9115, allocations: 376.7 kB / 0.542 GB, free: 86.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.9118, allocations: 392.3 kB / 0.5424 GB, free: 86.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.9306, allocations: 11.41 MB / 0.5535 GB, free: 82.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05268/0.9833, allocations: 37.36 MB / 0.59 GB, free: 46.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007071/0.9903, allocations: 4.171 MB / 0.5941 GB, free: 42.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.992, allocations: 1.538 MB / 0.5956 GB, free: 40.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.9922, allocations: 65.94 kB / 0.5957 GB, free: 40.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.9923, allocations: 56.56 kB / 0.5957 GB, free: 40.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.2e-06/0.9923, allocations: 3.984 kB / 0.5957 GB, free: 40.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007242/0.9995, allocations: 4.605 MB / 0.6002 GB, free: 36.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.9995, allocations: 73.41 kB / 0.6003 GB, free: 36.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/1.003, allocations: 3.042 MB / 0.6033 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.003, allocations: 61.7 kB / 0.6033 GB, free: 33.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.004, allocations: 3.981 MB / 0.6072 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000498/1.005, allocations: 0.8309 MB / 0.608 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/1.006, allocations: 0.9566 MB / 0.609 GB, free: 27.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/1.006, allocations: 305.1 kB / 0.6092 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/1.008, allocations: 1.98 MB / 0.6112 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.011, allocations: 4.157 MB / 0.6152 GB, free: 20.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/1.017, allocations: 6.521 MB / 0.6216 GB, free: 12.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.53e-05/1.017, allocations: 24 kB / 0.6216 GB, free: 12.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009957/1.027, allocations: 6.52 MB / 0.628 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/1.027, allocations: 36.19 kB / 0.628 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.72e-05/1.027, allocations: 80 kB / 0.6281 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/1.028, allocations: 408.5 kB / 0.6285 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/1.031, allocations: 1.068 MB / 0.6295 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/1.035, allocations: 4.183 MB / 0.6336 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/1.038, allocations: 0.6325 MB / 0.6342 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006142/1.039, allocations: 248 kB / 0.6345 GB, free: 15.3 MB / 462.1 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.005793/1.045, allocations: 3.373 MB / 0.6378 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007658/1.045, allocations: 286.1 kB / 0.638 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006393/1.052, allocations: 3.572 MB / 0.6415 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004594/1.056, allocations: 2.807 MB / 0.6443 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.056, allocations: 4 kB / 0.6443 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/1.056, allocations: 11.95 kB / 0.6443 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.073, allocations: 8.013 MB / 0.6521 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.073, allocations: 4 kB / 0.6521 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.075, allocations: 411.4 kB / 0.6525 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008694/1.076, allocations: 320.7 kB / 0.6528 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/1.076, allocations: 51.98 kB / 0.6529 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/1.082, allocations: 4.007 MB / 0.6568 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.082, allocations: 3.938 kB / 0.6568 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008395/1.09, allocations: 5.14 MB / 0.6618 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.092, allocations: 0.5522 MB / 0.6623 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/1.092, allocations: 43.94 kB / 0.6624 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.093, allocations: 131.8 kB / 0.6625 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.094, allocations: 157.7 kB / 0.6627 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.094, allocations: 72.05 kB / 0.6627 GB, free: 2.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003019/1.097, allocations: 1.935 MB / 0.6646 GB, free: 216 kB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.097, allocations: 0 / 0.6646 GB, free: 216 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.005327/1.102, allocations: 1.992 MB / 0.6666 GB, free: 14.21 MB / 494.1 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.0005395/1.103, allocations: 202.7 kB / 0.6668 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007745/1.11, allocations: 4.448 MB / 0.6711 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.11, allocations: 0 / 0.6711 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/1.113, allocations: 1.622 MB / 0.6727 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/1.117, allocations: 0.6748 MB / 0.6733 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.143, allocations: 13.52 MB / 0.6865 GB, free: 9.688 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007744/1.15, allocations: 5.168 MB / 0.6916 GB, free: 4.477 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004348/1.155, allocations: 1.697 MB / 0.6933 GB, free: 2.773 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007466/1.155, allocations: 243.4 kB / 0.6935 GB, free: 2.535 MB / 0.4982 GB Notification: Performance of SimCode: time 1.553e-06/1.155, allocations: 0 / 0.6935 GB, free: 2.535 MB / 0.4982 GB Notification: Performance of Templates: time 0.09202/1.247, allocations: 49.01 MB / 0.7413 GB, free: 1.973 MB / 0.545 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: 6.7916992153041065]