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.001854/0.001854, allocations: 110.5 kB / 21.17 MB, free: 0.7617 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.002573/0.002573, allocations: 214.7 kB / 24.46 MB, free: 4.195 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.681/1.681, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2606/0.2606, allocations: 46.89 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 179] 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.002437/0.002437, allocations: 79.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.389, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009285/0.3983, allocations: 7.805 MB / 0.5688 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004968/0.4032, allocations: 2.445 MB / 0.5712 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007748/0.404, allocations: 24 kB / 0.5712 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.4083, allocations: 1.827 MB / 0.573 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.4106, allocations: 0.7179 MB / 0.5737 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.4132, allocations: 1.078 MB / 0.5748 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.4156, allocations: 1.421 MB / 0.5762 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.417, allocations: 0.7627 MB / 0.5769 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009287/0.4179, allocations: 0.6111 MB / 0.5775 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008796/0.4188, allocations: 0.7314 MB / 0.5782 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.419, allocations: 112 kB / 0.5783 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008178/0.4198, allocations: 343.8 kB / 0.5786 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.4201, allocations: 291 kB / 0.5789 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.4207, allocations: 0.6569 MB / 0.5796 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.423, allocations: 1.77 MB / 0.5813 GB, free: 380 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.423, allocations: 0 / 0.5813 GB, free: 380 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.423, allocations: 0 / 0.5813 GB, free: 380 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.423, allocations: 0 / 0.5813 GB, free: 380 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008051/0.4311, allocations: 2.417 MB / 0.5837 GB, free: 13.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4311, allocations: 8.031 kB / 0.5837 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.4412, allocations: 1.335 MB / 0.585 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.4429, allocations: 0.621 MB / 0.5856 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.443, allocations: 99.02 kB / 0.5857 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.4433, allocations: 132.4 kB / 0.5858 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.446, allocations: 1.494 MB / 0.5872 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.4461, allocations: 7.938 kB / 0.5873 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.4462, allocations: 56 kB / 0.5873 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.4463, allocations: 35.94 kB / 0.5873 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.449, allocations: 1.517 MB / 0.5888 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00882/0.4578, allocations: 5.616 MB / 0.5943 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.4605, allocations: 2.046 MB / 0.5963 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.4615, allocations: 0.5421 MB / 0.5968 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.4617, allocations: 195.2 kB / 0.597 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.4618, allocations: 59.5 kB / 0.5971 GB, free: 15.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.857e-06/0.4618, allocations: 0 / 0.5971 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009733/0.4715, allocations: 3.075 MB / 0.6001 GB, free: 12.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.4716, allocations: 94.09 kB / 0.6002 GB, free: 12.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/0.4723, allocations: 461.9 kB / 0.6006 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.4724, allocations: 45.7 kB / 0.6007 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.4728, allocations: 480.9 kB / 0.6011 GB, free: 11.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.4733, allocations: 440.1 kB / 0.6015 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.4737, allocations: 222.8 kB / 0.6017 GB, free: 10.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.4739, allocations: 386.7 kB / 0.6021 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/0.4749, allocations: 458.4 kB / 0.6026 GB, free: 9.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4761, allocations: 0.7036 MB / 0.6032 GB, free: 8.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.4782, allocations: 1.198 MB / 0.6044 GB, free: 7.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4782, allocations: 0 / 0.6044 GB, free: 7.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00323/0.4814, allocations: 1.574 MB / 0.6059 GB, free: 6.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4815, allocations: 8 kB / 0.606 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.4815, allocations: 12 kB / 0.606 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.4831, allocations: 0.532 MB / 0.6065 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/0.4839, allocations: 203.6 kB / 0.6067 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002101/0.4841, allocations: 53.2 kB / 0.6067 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.4849, allocations: 127.1 kB / 0.6069 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.485, allocations: 51.98 kB / 0.6069 GB, free: 5.082 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.0005471/0.4856, allocations: 265.6 kB / 0.6072 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.4858, allocations: 79.48 kB / 0.6072 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.4888, allocations: 1.54 MB / 0.6087 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.4888, allocations: 19.92 kB / 0.6088 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.4888, allocations: 0 / 0.6088 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.4888, allocations: 11.97 kB / 0.6088 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004986/0.4938, allocations: 2.844 MB / 0.6115 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.4938, allocations: 4.031 kB / 0.6115 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.4945, allocations: 143.8 kB / 0.6117 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.496, allocations: 0.5184 MB / 0.6122 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.496, allocations: 27.98 kB / 0.6122 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003289/0.4964, allocations: 72.67 kB / 0.6123 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4964, allocations: 0 / 0.6123 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.5006, allocations: 2.318 MB / 0.6145 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.5011, allocations: 292.2 kB / 0.6148 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5012, allocations: 23.94 kB / 0.6149 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.5018, allocations: 44.05 kB / 0.6149 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.502, allocations: 81.19 kB / 0.615 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/0.5021, allocations: 32 kB / 0.615 GB, free: 12.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.5026, allocations: 310.9 kB / 0.6153 GB, free: 12.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5026, allocations: 0 / 0.6153 GB, free: 12.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001074/0.5036, allocations: 351.2 kB / 0.6156 GB, free: 12 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.0003342/0.504, allocations: 167 kB / 0.6158 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.5071, allocations: 1.277 MB / 0.617 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5071, allocations: 3.938 kB / 0.617 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.5088, allocations: 0.6846 MB / 0.6177 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.5096, allocations: 101.9 kB / 0.6178 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.5137, allocations: 2.101 MB / 0.6199 GB, free: 7.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.5144, allocations: 1.036 MB / 0.6209 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.5148, allocations: 106.8 kB / 0.621 GB, free: 6.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.515, allocations: 71.41 kB / 0.621 GB, free: 6.391 MB / 462.1 MB Notification: Performance of SimCode: time 1.653e-06/0.515, allocations: 4 kB / 0.621 GB, free: 6.387 MB / 462.1 MB Notification: Performance of Templates: time 0.02765/0.5427, allocations: 14.96 MB / 0.6357 GB, free: 7.5 MB / 478.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 -s cvode -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: 6.450422351248562]