Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 104.1 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 184.2 kB / 19.37 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3968, allocations: 60.81 MB / 0.5195 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008663/0.4055, allocations: 7.738 MB / 0.5271 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005765/0.4113, allocations: 2.359 MB / 0.5294 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.4128, allocations: 29.25 kB / 0.5294 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004392/0.4172, allocations: 1.818 MB / 0.5312 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.4203, allocations: 0.8734 MB / 0.5321 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.4226, allocations: 0.8852 MB / 0.5329 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.425, allocations: 1.408 MB / 0.5343 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.427, allocations: 1.001 MB / 0.5353 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.4283, allocations: 0.6045 MB / 0.5359 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.4297, allocations: 0.7233 MB / 0.5366 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005084/0.4302, allocations: 112.4 kB / 0.5367 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.4317, allocations: 335.4 kB / 0.537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.4322, allocations: 292.7 kB / 0.5373 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.4337, allocations: 0.6618 MB / 0.5379 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.437, allocations: 1.748 MB / 0.5396 GB, free: 5.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.437, allocations: 1.344 kB / 0.5396 GB, free: 5.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.437, allocations: 0 / 0.5396 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.969e-05/0.4371, allocations: 0 / 0.5396 GB, free: 5.359 MB / 398.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.008869/0.4459, allocations: 2.38 MB / 0.542 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.446, allocations: 8.75 kB / 0.542 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.4562, allocations: 1.4 MB / 0.5433 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.4577, allocations: 0.612 MB / 0.5439 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.4579, allocations: 96.86 kB / 0.544 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.4582, allocations: 134.4 kB / 0.5442 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.4609, allocations: 1.488 MB / 0.5456 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.4609, allocations: 7.891 kB / 0.5456 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.4611, allocations: 52 kB / 0.5457 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.4611, allocations: 43.98 kB / 0.5457 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.4636, allocations: 1.501 MB / 0.5472 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007975/0.4716, allocations: 5.338 MB / 0.5524 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.474, allocations: 2.178 MB / 0.5545 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009887/0.475, allocations: 0.6512 MB / 0.5552 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4751, allocations: 98.09 kB / 0.5552 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4752, allocations: 51.5 kB / 0.5553 GB, free: 6.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.316e-06/0.4752, allocations: 0 / 0.5553 GB, free: 6.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=127): time 0.008841/0.484, allocations: 3.098 MB / 0.5583 GB, free: 3.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.4841, allocations: 90.11 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.4848, allocations: 469.8 kB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.4849, allocations: 45.7 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.4853, allocations: 475.4 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.4857, allocations: 413.9 kB / 0.5597 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.4861, allocations: 218.8 kB / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4863, allocations: 386.7 kB / 0.5603 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.4871, allocations: 450.5 kB / 0.5608 GB, free: 1.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.4882, allocations: 0.6997 MB / 0.5614 GB, free: 232 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.4902, allocations: 1.19 MB / 0.5626 GB, free: 14.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.4902, allocations: 4 kB / 0.5626 GB, free: 14.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00301/0.4932, allocations: 1.594 MB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4933, allocations: 12.09 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.4933, allocations: 11.98 kB / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.4949, allocations: 0.5279 MB / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.4957, allocations: 199.6 kB / 0.5649 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002061/0.4959, allocations: 53.2 kB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/0.4967, allocations: 130.6 kB / 0.5651 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.4968, allocations: 48 kB / 0.5651 GB, free: 12.36 MB / 430.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.0005015/0.4973, allocations: 265.6 kB / 0.5654 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.4976, allocations: 83.05 kB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.5005, allocations: 1.567 MB / 0.567 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.5005, allocations: 15.94 kB / 0.567 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5005, allocations: 3.938 kB / 0.567 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.5005, allocations: 7.984 kB / 0.567 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.5053, allocations: 2.867 MB / 0.5698 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.5053, allocations: 4 kB / 0.5698 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.506, allocations: 143.8 kB / 0.5699 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.5074, allocations: 0.5184 MB / 0.5704 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.232e-05/0.5075, allocations: 27.98 kB / 0.5705 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003031/0.5078, allocations: 68.73 kB / 0.5705 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5078, allocations: 0 / 0.5705 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.5118, allocations: 2.325 MB / 0.5728 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.5124, allocations: 283.7 kB / 0.5731 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.5126, allocations: 27.84 kB / 0.5731 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.5133, allocations: 55.97 kB / 0.5732 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.5134, allocations: 73.2 kB / 0.5732 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.5135, allocations: 36 kB / 0.5733 GB, free: 3.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003948/0.5139, allocations: 310.9 kB / 0.5736 GB, free: 3.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5139, allocations: 0 / 0.5736 GB, free: 3.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001136/0.5151, allocations: 339.1 kB / 0.5739 GB, free: 3.23 MB / 430.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.000354/0.5154, allocations: 167 kB / 0.574 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.5185, allocations: 1.359 MB / 0.5754 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5185, allocations: 3.984 kB / 0.5754 GB, free: 1.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.5203, allocations: 0.7668 MB / 0.5761 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.5211, allocations: 101.8 kB / 0.5762 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.525, allocations: 2.07 MB / 0.5782 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/0.5257, allocations: 1.04 MB / 0.5793 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.526, allocations: 79.36 kB / 0.5793 GB, free: 13.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.526, allocations: 0 / 0.5793 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02308/0.5491, allocations: 16.48 MB / 0.5954 GB, free: 13.09 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches