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.001078/0.001078, allocations: 95.16 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 204.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 63.56 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007222/0.1101, allocations: 7.152 MB / 490.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.1144, allocations: 2.369 MB / 493.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.1153, allocations: 27.94 kB / 493.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1165, allocations: 358.4 kB / 493.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.1189, allocations: 0.6254 MB / 494.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.1212, allocations: 1.019 MB / 495.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.1231, allocations: 1.339 MB / 496.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/0.1263, allocations: 1.689 MB / 498.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000916/0.1272, allocations: 0.5251 MB / 498.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009954/0.1282, allocations: 0.6495 MB / 499.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.1285, allocations: 56 kB / 499.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008861/0.1294, allocations: 271.8 kB / 499.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.1297, allocations: 246.8 kB / 0.4883 GB, free: 3.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008053/0.1305, allocations: 0.6001 MB / 0.4889 GB, free: 3.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1321, allocations: 1.316 MB / 0.4902 GB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1321, allocations: 0 / 0.4902 GB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1321, allocations: 0 / 0.4902 GB, free: 1.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.475e-05/0.1322, allocations: 4 kB / 0.4902 GB, free: 1.812 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.008225/0.1404, allocations: 2.15 MB / 0.4923 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1405, allocations: 8.875 kB / 0.4923 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.1505, allocations: 1.389 MB / 0.4937 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1516, allocations: 0.605 MB / 0.4942 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1518, allocations: 103 kB / 0.4943 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.1521, allocations: 136.4 kB / 0.4945 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.1552, allocations: 1.491 MB / 0.4959 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.1552, allocations: 4 kB / 0.4959 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.1554, allocations: 59.98 kB / 0.496 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.1554, allocations: 32 kB / 0.496 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.1584, allocations: 1.529 MB / 0.4975 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008374/0.1668, allocations: 5.654 MB / 0.503 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.1693, allocations: 2.186 MB / 0.5052 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.1704, allocations: 0.6631 MB / 0.5058 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.1706, allocations: 187.1 kB / 0.506 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1707, allocations: 51.56 kB / 0.506 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.176e-06/0.1707, allocations: 0 / 0.506 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.2059/0.3765, allocations: 3.146 MB / 0.5091 GB, free: 28.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.3766, allocations: 90.19 kB / 0.5092 GB, free: 28.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.3772, allocations: 457.9 kB / 0.5096 GB, free: 27.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3773, allocations: 46.67 kB / 0.5097 GB, free: 27.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.3776, allocations: 464.3 kB / 0.5101 GB, free: 27.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.378, allocations: 426 kB / 0.5105 GB, free: 27.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3782, allocations: 110.1 kB / 0.5106 GB, free: 27.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3783, allocations: 384 kB / 0.511 GB, free: 27.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008873/0.3792, allocations: 461.1 kB / 0.5114 GB, free: 27.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000993/0.3802, allocations: 0.7059 MB / 0.5121 GB, free: 26.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.3822, allocations: 1.217 MB / 0.5133 GB, free: 26.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.3822, allocations: 2.219 kB / 0.5133 GB, free: 26.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003008/0.3852, allocations: 1.616 MB / 0.5149 GB, free: 26.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3852, allocations: 8.312 kB / 0.5149 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.3853, allocations: 7.172 kB / 0.5149 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.3868, allocations: 0.5281 MB / 0.5154 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.3876, allocations: 199.7 kB / 0.5156 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007182/0.3948, allocations: 4.721 MB / 0.5202 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/0.3956, allocations: 132.2 kB / 0.5204 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.3958, allocations: 51.8 kB / 0.5204 GB, free: 23.82 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.0004721/0.3963, allocations: 266.1 kB / 0.5207 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3964, allocations: 81.62 kB / 0.5207 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.3993, allocations: 1.59 MB / 0.5223 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.3993, allocations: 12.88 kB / 0.5223 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3994, allocations: 1.766 kB / 0.5223 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.3994, allocations: 7.312 kB / 0.5223 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.4039, allocations: 2.898 MB / 0.5251 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4039, allocations: 1.375 kB / 0.5251 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.4045, allocations: 141.5 kB / 0.5253 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.406, allocations: 0.5209 MB / 0.5258 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.4061, allocations: 24.47 kB / 0.5258 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006707/0.4128, allocations: 4.698 MB / 0.5304 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4128, allocations: 1.188 kB / 0.5304 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.4167, allocations: 2.36 MB / 0.5327 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.4171, allocations: 296.5 kB / 0.533 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.4172, allocations: 22.16 kB / 0.533 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.4179, allocations: 56.03 kB / 0.5331 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.4182, allocations: 92.83 kB / 0.5332 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.4182, allocations: 42.08 kB / 0.5332 GB, free: 16.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.4186, allocations: 306.5 kB / 0.5335 GB, free: 16.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4186, allocations: 0 / 0.5335 GB, free: 16.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001236/0.4198, allocations: 411.8 kB / 0.5339 GB, free: 16.51 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.0002699/0.4201, allocations: 168.2 kB / 0.534 GB, free: 16.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.4232, allocations: 1.85 MB / 0.5358 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4232, allocations: 0 / 0.5358 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.4252, allocations: 1.257 MB / 0.5371 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.4259, allocations: 94.06 kB / 0.5372 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.4292, allocations: 2.73 MB / 0.5398 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4297, allocations: 1.075 MB / 0.5409 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.4299, allocations: 68.48 kB / 0.5409 GB, free: 12.51 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4299, allocations: 0 / 0.5409 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01976/0.4497, allocations: 17.86 MB / 0.5584 GB, free: 11.16 MB / 398.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/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