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.001709/0.001709, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001752/0.001752, allocations: 192 kB / 18.56 MB, free: 4.434 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.428/1.428, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2413/0.2413, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 68.11 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.122, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.00879/0.1308, allocations: 7.717 MB / 477 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005417/0.1363, allocations: 2.369 MB / 479.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/0.1371, allocations: 24 kB / 479.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003986/0.1411, allocations: 1.819 MB / 481.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.1436, allocations: 0.874 MB / 482.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.1458, allocations: 0.8784 MB / 482.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.1482, allocations: 1.396 MB / 484.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.1504, allocations: 1.013 MB / 485.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1517, allocations: 0.5956 MB / 485.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.1533, allocations: 0.7314 MB / 486.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005738/0.1538, allocations: 112 kB / 486.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1553, allocations: 335.8 kB / 487.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.1559, allocations: 302.9 kB / 487.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.1572, allocations: 0.6491 MB / 488 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.16, allocations: 1.732 MB / 489.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.16, allocations: 0 / 489.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.16, allocations: 0 / 489.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.062e-05/0.1601, allocations: 0 / 489.8 MB, free: 9.77 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.00888/0.169, allocations: 2.38 MB / 492.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.169, allocations: 8.031 kB / 492.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/0.179, allocations: 1.396 MB / 493.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.1802, allocations: 0.6051 MB / 494.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1803, allocations: 103 kB / 494.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.1806, allocations: 136.4 kB / 494.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.1835, allocations: 1.483 MB / 495.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.1835, allocations: 7.906 kB / 495.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.1837, allocations: 55.98 kB / 495.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.1837, allocations: 32 kB / 496 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.1863, allocations: 1.513 MB / 497.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007887/0.1942, allocations: 5.377 MB / 0.4911 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.1973, allocations: 2.182 MB / 0.4932 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.1984, allocations: 0.6473 MB / 0.4938 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.1986, allocations: 106 kB / 0.4939 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.1987, allocations: 43.56 kB / 0.494 GB, free: 9.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 5.25e-06/0.1987, allocations: 3.984 kB / 0.494 GB, free: 9.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008797/0.2075, allocations: 3.098 MB / 0.497 GB, free: 5.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2075, allocations: 90.11 kB / 0.4971 GB, free: 5.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.2081, allocations: 466 kB / 0.4976 GB, free: 5.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/0.2082, allocations: 45.7 kB / 0.4976 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.2085, allocations: 463.5 kB / 0.498 GB, free: 4.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.2089, allocations: 429.7 kB / 0.4984 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.2093, allocations: 214.8 kB / 0.4987 GB, free: 4.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2095, allocations: 386.7 kB / 0.499 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000853/0.2103, allocations: 466.4 kB / 0.4995 GB, free: 3.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2114, allocations: 0.6918 MB / 0.5001 GB, free: 2.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.2132, allocations: 1.202 MB / 0.5013 GB, free: 1.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.2133, allocations: 4 kB / 0.5013 GB, free: 1.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.3074/0.5207, allocations: 1.581 MB / 0.5029 GB, free: 47.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5208, allocations: 9.5 kB / 0.5029 GB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.5208, allocations: 6.625 kB / 0.5029 GB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.5225, allocations: 0.5296 MB / 0.5034 GB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/0.5236, allocations: 201.9 kB / 0.5036 GB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002147/0.5238, allocations: 51.58 kB / 0.5036 GB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/0.5246, allocations: 119 kB / 0.5037 GB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5247, allocations: 50.06 kB / 0.5038 GB, free: 47.68 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.0004844/0.5252, allocations: 276.4 kB / 0.5041 GB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.5254, allocations: 79.47 kB / 0.5041 GB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.5284, allocations: 1.564 MB / 0.5057 GB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.5285, allocations: 14.11 kB / 0.5057 GB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.5285, allocations: 1.781 kB / 0.5057 GB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.5285, allocations: 6.188 kB / 0.5057 GB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/0.5334, allocations: 2.875 MB / 0.5085 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.5334, allocations: 0.875 kB / 0.5085 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.5341, allocations: 140.2 kB / 0.5086 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.5356, allocations: 0.5272 MB / 0.5091 GB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.5357, allocations: 29.89 kB / 0.5092 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003115/0.536, allocations: 67.72 kB / 0.5092 GB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.536, allocations: 2.297 kB / 0.5092 GB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.5399, allocations: 2.331 MB / 0.5115 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.5404, allocations: 282.4 kB / 0.5118 GB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.5405, allocations: 23.06 kB / 0.5118 GB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.5411, allocations: 48.14 kB / 0.5119 GB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.5413, allocations: 85.86 kB / 0.5119 GB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.5414, allocations: 37.31 kB / 0.512 GB, free: 44.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003979/0.5418, allocations: 307.7 kB / 0.5123 GB, free: 44.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5418, allocations: 5.188 kB / 0.5123 GB, free: 44.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001258/0.543, allocations: 338.7 kB / 0.5126 GB, free: 44.14 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.0003239/0.5434, allocations: 160.9 kB / 0.5127 GB, free: 44.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.5472, allocations: 1.399 MB / 0.5141 GB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5473, allocations: 1.125 kB / 0.5141 GB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.549, allocations: 0.7676 MB / 0.5149 GB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.5498, allocations: 103.4 kB / 0.515 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.5535, allocations: 2.064 MB / 0.517 GB, free: 42.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.554, allocations: 1.037 MB / 0.518 GB, free: 41.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005238/0.5546, allocations: 114.7 kB / 0.5181 GB, free: 41.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5547, allocations: 60.09 kB / 0.5182 GB, free: 41.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5548, allocations: 0 / 0.5182 GB, free: 41.34 MB / 382.1 MB Notification: Performance of Templates: time 0.02071/0.5755, allocations: 13.89 MB / 0.5317 GB, free: 33.68 MB / 382.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/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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches