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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001661/0.001661, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002346/0.002346, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2796/0.2796, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 75.44 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1644, allocations: 62.45 MB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008464/0.1729, allocations: 7.678 MB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004795/0.1777, allocations: 2.412 MB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008423/0.1786, allocations: 31.94 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.1823, allocations: 1.696 MB / 491.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.185, allocations: 0.6369 MB / 491.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.1877, allocations: 1.024 MB / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.1897, allocations: 1.339 MB / 494.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.1913, allocations: 0.9132 MB / 495 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.1921, allocations: 0.5681 MB / 495.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.1928, allocations: 0.7119 MB / 496.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.1929, allocations: 84 kB / 496.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.1937, allocations: 299.8 kB / 496.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.194, allocations: 274.8 kB / 496.9 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.1945, allocations: 0.6179 MB / 497.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.1965, allocations: 1.701 MB / 499.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1965, allocations: 0 / 499.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1965, allocations: 0 / 499.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.1965, allocations: 0 / 499.3 MB, free: 1.648 MB / 366.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.008158/0.2047, allocations: 2.384 MB / 0.4899 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.2048, allocations: 12.81 kB / 0.4899 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.215, allocations: 1.393 MB / 0.4913 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.2168, allocations: 0.6012 MB / 0.4919 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.217, allocations: 99.02 kB / 0.4919 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004789/0.2175, allocations: 132.4 kB / 0.4921 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/0.2214, allocations: 1.483 MB / 0.4935 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-05/0.2215, allocations: 11.91 kB / 0.4935 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.2217, allocations: 52 kB / 0.4936 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.2218, allocations: 36 kB / 0.4936 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.2251, allocations: 1.505 MB / 0.4951 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.2358, allocations: 5.634 MB / 0.5006 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.2384, allocations: 2.174 MB / 0.5027 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.2395, allocations: 0.6515 MB / 0.5033 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.2397, allocations: 187.2 kB / 0.5035 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.2398, allocations: 47.5 kB / 0.5036 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.246e-06/0.2398, allocations: 4 kB / 0.5036 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.238/0.4778, allocations: 3.089 MB / 0.5066 GB, free: 40.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.4779, allocations: 93.45 kB / 0.5067 GB, free: 40.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.4785, allocations: 461.7 kB / 0.5071 GB, free: 40.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.4786, allocations: 45.3 kB / 0.5072 GB, free: 40.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.4788, allocations: 467.7 kB / 0.5076 GB, free: 40 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.4791, allocations: 420.2 kB / 0.508 GB, free: 39.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.4794, allocations: 216.2 kB / 0.5082 GB, free: 39.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4795, allocations: 389.3 kB / 0.5086 GB, free: 39.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.4803, allocations: 454.6 kB / 0.509 GB, free: 39.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/0.4813, allocations: 0.6945 MB / 0.5097 GB, free: 38.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.483, allocations: 1.199 MB / 0.5109 GB, free: 37.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4831, allocations: 5.062 kB / 0.5109 GB, free: 37.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002996/0.4861, allocations: 1.591 MB / 0.5124 GB, free: 37.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4861, allocations: 8.25 kB / 0.5124 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4861, allocations: 6.875 kB / 0.5124 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.4878, allocations: 0.5298 MB / 0.513 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.4886, allocations: 192.9 kB / 0.5131 GB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001841/0.4888, allocations: 55.62 kB / 0.5132 GB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.4894, allocations: 131 kB / 0.5133 GB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.4895, allocations: 47.45 kB / 0.5134 GB, free: 36.98 MB / 382.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.0004388/0.49, allocations: 274.1 kB / 0.5136 GB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.4901, allocations: 77.59 kB / 0.5137 GB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.4928, allocations: 1.566 MB / 0.5152 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.4929, allocations: 13.31 kB / 0.5152 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4929, allocations: 0.5 kB / 0.5152 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.4929, allocations: 6.984 kB / 0.5153 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.4976, allocations: 2.881 MB / 0.5181 GB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4976, allocations: 1.312 kB / 0.5181 GB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.4983, allocations: 141.5 kB / 0.5182 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.4998, allocations: 0.5196 MB / 0.5187 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.4999, allocations: 25.16 kB / 0.5187 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003041/0.5002, allocations: 65.2 kB / 0.5188 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5002, allocations: 6.078 kB / 0.5188 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.5041, allocations: 2.326 MB / 0.5211 GB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.5045, allocations: 284 kB / 0.5213 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5047, allocations: 22.58 kB / 0.5214 GB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.5054, allocations: 50.34 kB / 0.5214 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.5056, allocations: 80.91 kB / 0.5215 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5057, allocations: 37.23 kB / 0.5215 GB, free: 32.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004698/0.5062, allocations: 308.8 kB / 0.5218 GB, free: 32.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5062, allocations: 1.25 kB / 0.5218 GB, free: 32.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001285/0.5075, allocations: 347.5 kB / 0.5222 GB, free: 32.64 MB / 382.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.0003922/0.5079, allocations: 173.1 kB / 0.5223 GB, free: 32.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.5111, allocations: 1.359 MB / 0.5236 GB, free: 32.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5111, allocations: 0 / 0.5236 GB, free: 32.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.5128, allocations: 0.7666 MB / 0.5244 GB, free: 31.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.5138, allocations: 97.05 kB / 0.5245 GB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.5187, allocations: 2.596 MB / 0.527 GB, free: 30.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/0.5195, allocations: 1.038 MB / 0.528 GB, free: 29.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006018/0.5201, allocations: 108.8 kB / 0.5281 GB, free: 29.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.5203, allocations: 60.61 kB / 0.5282 GB, free: 29.32 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5203, allocations: 0 / 0.5282 GB, free: 29.32 MB / 382.1 MB Notification: Performance of Templates: time 0.02118/0.5415, allocations: 13 MB / 0.5409 GB, free: 19.42 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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) 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) Reference file matches