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.001375/0.001375, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 75.75 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1281, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0083/0.1364, allocations: 7.731 MB / 489.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.1411, allocations: 2.419 MB / 491.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008647/0.142, allocations: 27.94 kB / 491.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.1463, allocations: 1.816 MB / 493.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.1491, allocations: 0.7103 MB / 494.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.1517, allocations: 1.081 MB / 495.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.1542, allocations: 1.397 MB / 496.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.1559, allocations: 1.005 MB / 497.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000946/0.1569, allocations: 0.5995 MB / 498.2 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007945/0.1577, allocations: 0.7276 MB / 499 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1579, allocations: 119.9 kB / 499.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.1588, allocations: 339.8 kB / 499.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.1591, allocations: 302.9 kB / 499.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.1597, allocations: 0.6491 MB / 0.4886 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.1615, allocations: 1.756 MB / 0.4903 GB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1616, allocations: 0 / 0.4903 GB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1616, allocations: 0 / 0.4903 GB, free: 15.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.1616, allocations: 0 / 0.4903 GB, free: 15.78 MB / 382.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.007144/0.1687, allocations: 2.388 MB / 0.4927 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1688, allocations: 8.031 kB / 0.4927 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00933/0.1781, allocations: 1.389 MB / 0.494 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.18, allocations: 0.6207 MB / 0.4946 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.1802, allocations: 103 kB / 0.4947 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/0.1804, allocations: 128.4 kB / 0.4949 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.1835, allocations: 1.483 MB / 0.4963 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.1836, allocations: 7.906 kB / 0.4963 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.1837, allocations: 59.98 kB / 0.4964 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.1838, allocations: 36 kB / 0.4964 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.1867, allocations: 1.509 MB / 0.4979 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008438/0.1951, allocations: 5.579 MB / 0.5033 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2768/0.472, allocations: 2.182 MB / 0.5055 GB, free: 39.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.474, allocations: 0.6434 MB / 0.5061 GB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.4743, allocations: 188.8 kB / 0.5063 GB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.4744, allocations: 47.53 kB / 0.5063 GB, free: 39.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.198e-06/0.4744, allocations: 0.6562 kB / 0.5063 GB, free: 39.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009644/0.484, allocations: 3.094 MB / 0.5093 GB, free: 38.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4841, allocations: 90.44 kB / 0.5094 GB, free: 38.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.4847, allocations: 460.8 kB / 0.5099 GB, free: 38.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.4848, allocations: 48.44 kB / 0.5099 GB, free: 38.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.485, allocations: 463.8 kB / 0.5104 GB, free: 38.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.4853, allocations: 422.5 kB / 0.5108 GB, free: 37.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.4857, allocations: 218.6 kB / 0.511 GB, free: 37.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4858, allocations: 387.4 kB / 0.5113 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.4867, allocations: 457.8 kB / 0.5118 GB, free: 37.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.4877, allocations: 0.6936 MB / 0.5125 GB, free: 36.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.4894, allocations: 1.199 MB / 0.5136 GB, free: 36.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4894, allocations: 1.594 kB / 0.5136 GB, free: 36.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002795/0.4922, allocations: 1.594 MB / 0.5152 GB, free: 35.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4923, allocations: 7.531 kB / 0.5152 GB, free: 35.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4923, allocations: 7.781 kB / 0.5152 GB, free: 35.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.4938, allocations: 0.5281 MB / 0.5157 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.4946, allocations: 197 kB / 0.5159 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001941/0.4948, allocations: 53.45 kB / 0.516 GB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.4955, allocations: 120.8 kB / 0.5161 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4957, allocations: 56.02 kB / 0.5161 GB, free: 35.04 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.0004497/0.4961, allocations: 270.7 kB / 0.5164 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4963, allocations: 82.31 kB / 0.5165 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.4993, allocations: 1.569 MB / 0.518 GB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.4993, allocations: 12.78 kB / 0.518 GB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.4993, allocations: 6.594 kB / 0.518 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.4993, allocations: 7.5 kB / 0.518 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/0.5046, allocations: 2.862 MB / 0.5208 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.5046, allocations: 1.812 kB / 0.5208 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.5053, allocations: 140.5 kB / 0.5209 GB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.5068, allocations: 0.5247 MB / 0.5215 GB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.5069, allocations: 25.73 kB / 0.5215 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003011/0.5072, allocations: 65.09 kB / 0.5215 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.5073, allocations: 9.734 kB / 0.5216 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/0.5111, allocations: 2.331 MB / 0.5238 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.5116, allocations: 280.1 kB / 0.5241 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5117, allocations: 21.23 kB / 0.5241 GB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.5123, allocations: 49.17 kB / 0.5242 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.5126, allocations: 75.05 kB / 0.5242 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.5127, allocations: 35.22 kB / 0.5243 GB, free: 30.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004642/0.5132, allocations: 316.6 kB / 0.5246 GB, free: 30.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5132, allocations: 2.438 kB / 0.5246 GB, free: 30.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009743/0.5142, allocations: 345.3 kB / 0.5249 GB, free: 30.7 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.0003006/0.5145, allocations: 165.2 kB / 0.5251 GB, free: 30.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.5172, allocations: 1.358 MB / 0.5264 GB, free: 30.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5172, allocations: 1.312 kB / 0.5264 GB, free: 30.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.5188, allocations: 0.7702 MB / 0.5271 GB, free: 29.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.5195, allocations: 99.2 kB / 0.5272 GB, free: 29.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.5227, allocations: 2.057 MB / 0.5292 GB, free: 28.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.5232, allocations: 1.042 MB / 0.5303 GB, free: 27.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.5236, allocations: 112.5 kB / 0.5304 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.5238, allocations: 58.73 kB / 0.5304 GB, free: 27.93 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5238, allocations: 3.969 kB / 0.5304 GB, free: 27.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01951/0.5433, allocations: 13.83 MB / 0.5439 GB, free: 16.58 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches