Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009868/0.009868, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002406/0.002406, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01856/0.3083, allocations: 16.61 MB / 449.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009181/0.3174, allocations: 4.169 MB / 454 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.3202, allocations: 159.2 kB / 454.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.3377, allocations: 7.521 MB / 461.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006953/0.3446, allocations: 1.355 MB / 463 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.3491, allocations: 1.271 MB / 464.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01428/0.3634, allocations: 8.308 MB / 472.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02768/0.3911, allocations: 14.36 MB / 486.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009052/0.4001, allocations: 4.914 MB / 491.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.4103, allocations: 5.357 MB / 497.2 MB, free: 6.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003625/0.4139, allocations: 1.383 MB / 498.6 MB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.419, allocations: 1.671 MB / 0.4885 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004178/0.4231, allocations: 2.584 MB / 0.4911 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009057/0.4322, allocations: 5.218 MB / 0.4961 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02367/0.4559, allocations: 18.36 MB / 0.5141 GB, free: 9.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4559, allocations: 0 / 0.5141 GB, free: 9.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4559, allocations: 4 kB / 0.5141 GB, free: 9.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004791/0.4564, allocations: 3.938 kB / 0.5141 GB, free: 9.285 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.03184/0.4882, allocations: 10.55 MB / 0.5244 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.4882, allocations: 12.03 kB / 0.5244 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/0.509, allocations: 3.706 MB / 0.528 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.5216, allocations: 5.429 MB / 0.5333 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008218/0.5225, allocations: 0.6824 MB / 0.534 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003302/0.5258, allocations: 0.8867 MB / 0.5349 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.409/0.9348, allocations: 12.73 MB / 0.5473 GB, free: 84.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002537/0.935, allocations: 10.89 kB / 0.5473 GB, free: 84.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002474/0.9375, allocations: 374.5 kB / 0.5477 GB, free: 84.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003393/0.9378, allocations: 404.3 kB / 0.548 GB, free: 84.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.9594, allocations: 11.43 MB / 0.5592 GB, free: 79.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05637/1.016, allocations: 42.37 MB / 0.6006 GB, free: 37.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/1.023, allocations: 4.202 MB / 0.6047 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.024, allocations: 1.538 MB / 0.6062 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/1.025, allocations: 82.08 kB / 0.6063 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/1.025, allocations: 56.56 kB / 0.6063 GB, free: 32.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.048e-06/1.025, allocations: 3.938 kB / 0.6063 GB, free: 32.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006952/1.031, allocations: 4.597 MB / 0.6108 GB, free: 27.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/1.032, allocations: 77.34 kB / 0.6109 GB, free: 27.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/1.035, allocations: 2.932 MB / 0.6137 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000223/1.035, allocations: 61.7 kB / 0.6138 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/1.037, allocations: 3.979 MB / 0.6177 GB, free: 20.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005685/1.037, allocations: 0.8275 MB / 0.6185 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.038, allocations: 0.9644 MB / 0.6194 GB, free: 19.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/1.038, allocations: 301.1 kB / 0.6197 GB, free: 18.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/1.04, allocations: 1.976 MB / 0.6217 GB, free: 16.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/1.043, allocations: 4.161 MB / 0.6257 GB, free: 11.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005487/1.049, allocations: 6.521 MB / 0.6321 GB, free: 4.105 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.875e-05/1.049, allocations: 20 kB / 0.6321 GB, free: 4.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009493/1.058, allocations: 6.528 MB / 0.6385 GB, free: 13.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/1.058, allocations: 39.94 kB / 0.6385 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.058, allocations: 80 kB / 0.6386 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009259/1.059, allocations: 408.7 kB / 0.639 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/1.063, allocations: 1.065 MB / 0.64 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005959/1.069, allocations: 4.291 MB / 0.6442 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/1.073, allocations: 0.6325 MB / 0.6448 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006902/1.073, allocations: 248 kB / 0.6451 GB, free: 6.684 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.006069/1.079, allocations: 3.371 MB / 0.6484 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/1.08, allocations: 290.1 kB / 0.6486 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/1.086, allocations: 3.563 MB / 0.6521 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004455/1.091, allocations: 2.811 MB / 0.6549 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.091, allocations: 4 kB / 0.6549 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/1.091, allocations: 11.95 kB / 0.6549 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.11, allocations: 9.913 MB / 0.6646 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.11, allocations: 4 kB / 0.6646 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.111, allocations: 415.4 kB / 0.665 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/1.112, allocations: 316.7 kB / 0.6653 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.112, allocations: 47.98 kB / 0.6653 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/1.118, allocations: 4.097 MB / 0.6693 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.118, allocations: 8 kB / 0.6693 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008093/1.126, allocations: 5.138 MB / 0.6743 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.127, allocations: 0.5638 MB / 0.6749 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/1.128, allocations: 44 kB / 0.6749 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.129, allocations: 131.9 kB / 0.675 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/1.129, allocations: 153.7 kB / 0.6752 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.129, allocations: 71.92 kB / 0.6753 GB, free: 7.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003103/1.132, allocations: 1.967 MB / 0.6772 GB, free: 5.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.132, allocations: 0 / 0.6772 GB, free: 5.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005209/1.137, allocations: 1.984 MB / 0.6791 GB, free: 3.531 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.0004865/1.138, allocations: 206.7 kB / 0.6793 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007626/1.146, allocations: 4.44 MB / 0.6837 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.146, allocations: 0 / 0.6837 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/1.148, allocations: 1.618 MB / 0.6852 GB, free: 13.25 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.151, allocations: 0.677 MB / 0.6859 GB, free: 12.59 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/1.176, allocations: 13.27 MB / 0.6989 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007392/1.184, allocations: 5.478 MB / 0.7042 GB, free: 9.734 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.185, allocations: 279.4 kB / 0.7045 GB, free: 9.461 MB / 0.5138 GB Notification: Performance of SimCode: time 1.363e-06/1.185, allocations: 0 / 0.7045 GB, free: 9.461 MB / 0.5138 GB Notification: Performance of Templates: time 0.3817/1.566, allocations: 133.4 MB / 0.8348 GB, free: 107.5 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.275835618143901]