Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001337/0.001337, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001378/0.001378, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.563/1.563, allocations: 227.4 MB / 251.7 MB, free: 56 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2882/0.2882, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003979/0.00398, allocations: 76.16 kB / 490.2 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1641, allocations: 62.45 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01029/0.1744, allocations: 7.751 MB / 0.5472 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.1805, allocations: 2.435 MB / 0.5496 GB, free: 10 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.1814, allocations: 24 kB / 0.5496 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.1856, allocations: 1.815 MB / 0.5514 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.188, allocations: 0.7127 MB / 0.5521 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1904, allocations: 1.07 MB / 0.5532 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.1924, allocations: 1.414 MB / 0.5545 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.1939, allocations: 1.001 MB / 0.5555 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.1947, allocations: 0.6111 MB / 0.5561 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.1955, allocations: 0.7276 MB / 0.5568 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.1957, allocations: 112 kB / 0.5569 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.1965, allocations: 339.8 kB / 0.5573 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.1968, allocations: 294.9 kB / 0.5575 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.1974, allocations: 0.6569 MB / 0.5582 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.1996, allocations: 1.767 MB / 0.5599 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1996, allocations: 4 kB / 0.5599 GB, free: 15.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1996, allocations: 3.938 kB / 0.5599 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.1996, allocations: 0 / 0.5599 GB, free: 15.42 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.007459/0.2071, allocations: 2.416 MB / 0.5623 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2071, allocations: 8.031 kB / 0.5623 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.2167, allocations: 1.339 MB / 0.5636 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.2182, allocations: 0.6171 MB / 0.5642 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.2183, allocations: 99.02 kB / 0.5643 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.2186, allocations: 128.4 kB / 0.5644 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.2213, allocations: 1.498 MB / 0.5659 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.2213, allocations: 3.953 kB / 0.5659 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.2215, allocations: 60 kB / 0.5659 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.2215, allocations: 32 kB / 0.566 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.2242, allocations: 1.517 MB / 0.5674 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008403/0.2326, allocations: 5.615 MB / 0.5729 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.2352, allocations: 2.178 MB / 0.5751 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.2363, allocations: 0.6437 MB / 0.5757 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.2365, allocations: 199.1 kB / 0.5759 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.2366, allocations: 51.55 kB / 0.5759 GB, free: 14.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.747e-06/0.2366, allocations: 0 / 0.5759 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009297/0.2459, allocations: 3.102 MB / 0.5789 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.246, allocations: 94.14 kB / 0.579 GB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.2467, allocations: 461.9 kB / 0.5795 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/0.2468, allocations: 45.7 kB / 0.5795 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.2472, allocations: 484.9 kB / 0.58 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.2476, allocations: 436.2 kB / 0.5804 GB, free: 9.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.248, allocations: 222.8 kB / 0.5806 GB, free: 9.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.2482, allocations: 386.7 kB / 0.581 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.2491, allocations: 458.4 kB / 0.5814 GB, free: 8.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.2502, allocations: 0.6997 MB / 0.5821 GB, free: 7.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.2522, allocations: 1.205 MB / 0.5833 GB, free: 6.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.2522, allocations: 4 kB / 0.5833 GB, free: 6.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002996/0.2552, allocations: 1.606 MB / 0.5849 GB, free: 4.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.2553, allocations: 8 kB / 0.5849 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.2553, allocations: 8 kB / 0.5849 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.2568, allocations: 0.5202 MB / 0.5854 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.2576, allocations: 203.6 kB / 0.5856 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001943/0.2578, allocations: 57.2 kB / 0.5856 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.2585, allocations: 123 kB / 0.5857 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.2586, allocations: 55.98 kB / 0.5858 GB, free: 3.859 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.0004836/0.2591, allocations: 268.8 kB / 0.5861 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.2592, allocations: 83.48 kB / 0.5861 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.2621, allocations: 1.571 MB / 0.5877 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.2621, allocations: 15.94 kB / 0.5877 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2621, allocations: 0 / 0.5877 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.2621, allocations: 7.969 kB / 0.5877 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.2667, allocations: 2.871 MB / 0.5905 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.2667, allocations: 0 / 0.5905 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.2673, allocations: 147.7 kB / 0.5906 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.2687, allocations: 0.5223 MB / 0.5911 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/0.2688, allocations: 27.98 kB / 0.5912 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003047/0.2691, allocations: 68.73 kB / 0.5912 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2691, allocations: 3.938 kB / 0.5912 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.2731, allocations: 2.341 MB / 0.5935 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.2736, allocations: 284.2 kB / 0.5938 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.2737, allocations: 27.94 kB / 0.5938 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.2742, allocations: 43.97 kB / 0.5939 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.2744, allocations: 81.27 kB / 0.5939 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.2745, allocations: 35.98 kB / 0.594 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003757/0.2749, allocations: 314.8 kB / 0.5943 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2749, allocations: 0 / 0.5943 GB, free: 11.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001022/0.2759, allocations: 347.2 kB / 0.5946 GB, free: 10.7 MB / 462.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.000364/0.2763, allocations: 171 kB / 0.5948 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.2793, allocations: 1.367 MB / 0.5961 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2793, allocations: 384 / 0.5961 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.2811, allocations: 0.7738 MB / 0.5969 GB, free: 8.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.2818, allocations: 92.08 kB / 0.5969 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.2857, allocations: 2.096 MB / 0.599 GB, free: 6.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/0.2865, allocations: 1.04 MB / 0.6 GB, free: 5.105 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000432/0.287, allocations: 106.8 kB / 0.6001 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.2872, allocations: 67.42 kB / 0.6002 GB, free: 4.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2872, allocations: 0 / 0.6002 GB, free: 4.93 MB / 462.1 MB Notification: Performance of Templates: time 0.3168/0.604, allocations: 13.94 MB / 0.6138 GB, free: 57.88 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.355299190618098]