Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001727/0.001727, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.002053/0.002053, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Warning: Requested package Modelica 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.002242/0.002242, allocations: 79.88 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1422, allocations: 65.98 MB / 0.5568 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009797/0.152, allocations: 7.77 MB / 0.5644 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.1576, allocations: 2.454 MB / 0.5668 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1587, allocations: 27.94 kB / 0.5668 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00449/0.1632, allocations: 1.815 MB / 0.5686 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.1659, allocations: 0.7101 MB / 0.5693 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.1686, allocations: 1.082 MB / 0.5703 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.1709, allocations: 1.413 MB / 0.5717 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.1722, allocations: 0.7704 MB / 0.5725 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.1732, allocations: 0.6111 MB / 0.5731 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000861/0.1741, allocations: 0.7315 MB / 0.5738 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.1742, allocations: 112 kB / 0.5739 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009161/0.1751, allocations: 331.8 kB / 0.5742 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.1754, allocations: 302.9 kB / 0.5745 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.176, allocations: 0.6491 MB / 0.5751 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.1785, allocations: 1.766 MB / 0.5768 GB, free: 1.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1785, allocations: 0 / 0.5768 GB, free: 1.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1785, allocations: 0 / 0.5768 GB, free: 1.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.1785, allocations: 0 / 0.5768 GB, free: 1.297 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008074/0.1866, allocations: 2.421 MB / 0.5792 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1866, allocations: 12.03 kB / 0.5792 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009931/0.1965, allocations: 1.331 MB / 0.5805 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.1982, allocations: 0.6287 MB / 0.5811 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1983, allocations: 103 kB / 0.5812 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.1985, allocations: 128.4 kB / 0.5814 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.2015, allocations: 1.487 MB / 0.5828 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.258e-05/0.2015, allocations: 15.88 kB / 0.5828 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.2017, allocations: 56 kB / 0.5829 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.2017, allocations: 32 kB / 0.5829 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.2045, allocations: 1.521 MB / 0.5844 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008794/0.2133, allocations: 5.604 MB / 0.5899 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.2159, allocations: 2.057 MB / 0.5919 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.217, allocations: 0.5382 MB / 0.5924 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.2172, allocations: 191.2 kB / 0.5926 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.2173, allocations: 63.48 kB / 0.5926 GB, free: 356 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.346e-06/0.2173, allocations: 0 / 0.5926 GB, free: 356 kB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.3206/0.5379, allocations: 3.066 MB / 0.5956 GB, free: 34.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.5379, allocations: 91.34 kB / 0.5957 GB, free: 34.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.5385, allocations: 462.4 kB / 0.5962 GB, free: 34.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.5386, allocations: 48.8 kB / 0.5962 GB, free: 34.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.5389, allocations: 485.1 kB / 0.5967 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.5392, allocations: 442.5 kB / 0.5971 GB, free: 33.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.5396, allocations: 219.9 kB / 0.5973 GB, free: 33.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5398, allocations: 384.6 kB / 0.5977 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009385/0.5407, allocations: 456.8 kB / 0.5981 GB, free: 33.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.5418, allocations: 0.6989 MB / 0.5988 GB, free: 33.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.5437, allocations: 1.2 MB / 0.6 GB, free: 32.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5437, allocations: 3.594 kB / 0.6 GB, free: 32.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003271/0.547, allocations: 1.584 MB / 0.6015 GB, free: 31.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.547, allocations: 11.03 kB / 0.6015 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.547, allocations: 6.312 kB / 0.6015 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.5488, allocations: 0.5251 MB / 0.602 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.5497, allocations: 193.9 kB / 0.6022 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000215/0.5499, allocations: 58.5 kB / 0.6023 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/0.5507, allocations: 124.4 kB / 0.6024 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.5508, allocations: 49.27 kB / 0.6024 GB, free: 31.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005975/0.5514, allocations: 273.8 kB / 0.6027 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.5516, allocations: 86.27 kB / 0.6028 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.5548, allocations: 1.545 MB / 0.6043 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.5548, allocations: 12.16 kB / 0.6043 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5549, allocations: 1.984 kB / 0.6043 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.5549, allocations: 6.953 kB / 0.6043 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.5606, allocations: 2.856 MB / 0.6071 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5607, allocations: 1.344 kB / 0.6071 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.5614, allocations: 142.8 kB / 0.6072 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.5632, allocations: 0.5167 MB / 0.6078 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.5633, allocations: 30.14 kB / 0.6078 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003344/0.5636, allocations: 65.52 kB / 0.6078 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5636, allocations: 1.188 kB / 0.6078 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.5685, allocations: 2.315 MB / 0.6101 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/0.5692, allocations: 292.5 kB / 0.6104 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.5694, allocations: 23.72 kB / 0.6104 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.57, allocations: 42.08 kB / 0.6104 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.5702, allocations: 77.45 kB / 0.6105 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/0.5703, allocations: 39.09 kB / 0.6106 GB, free: 27.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.5708, allocations: 314 kB / 0.6109 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5708, allocations: 4 kB / 0.6109 GB, free: 27.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001509/0.5723, allocations: 345.6 kB / 0.6112 GB, free: 27.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003277/0.5727, allocations: 169.2 kB / 0.6114 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003112/0.5758, allocations: 1.269 MB / 0.6126 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5758, allocations: 1.188 kB / 0.6126 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.5775, allocations: 0.687 MB / 0.6133 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.5782, allocations: 99.39 kB / 0.6134 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.5819, allocations: 2.127 MB / 0.6154 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.5825, allocations: 1.043 MB / 0.6165 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5828, allocations: 82.17 kB / 0.6165 GB, free: 24.43 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5828, allocations: 0.9375 kB / 0.6165 GB, free: 24.43 MB / 446.1 MB Notification: Performance of Templates: time 0.0215/0.6043, allocations: 16.94 MB / 0.6331 GB, free: 13.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.90465778997168]