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.001564/0.001564, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.00179/0.00179, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.2241/0.2241, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 72.14 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009206/0.131, allocations: 7.662 MB / 476.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004648/0.1356, allocations: 2.35 MB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.1362, allocations: 28 kB / 479.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.1398, allocations: 1.703 MB / 480.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.1418, allocations: 0.7963 MB / 481.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1437, allocations: 0.8313 MB / 482.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1452, allocations: 1.352 MB / 483.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.1466, allocations: 0.9016 MB / 484.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.1473, allocations: 0.5681 MB / 485.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.148, allocations: 0.7042 MB / 486.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.1482, allocations: 80 kB / 486.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007454/0.1489, allocations: 303.8 kB / 486.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.1491, allocations: 262.9 kB / 486.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.1497, allocations: 0.6296 MB / 487.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.151, allocations: 1.332 MB / 488.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1511, allocations: 0 / 488.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1511, allocations: 0 / 488.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1511, allocations: 4 kB / 488.7 MB, free: 11.27 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.007392/0.1585, allocations: 2.373 MB / 491 MB, free: 8.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1585, allocations: 8.031 kB / 491.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00997/0.1685, allocations: 1.393 MB / 492.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.17, allocations: 0.6051 MB / 493.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.1701, allocations: 103 kB / 493.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.1705, allocations: 128.4 kB / 493.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.1741, allocations: 1.479 MB / 494.8 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/0.1742, allocations: 19.83 kB / 494.8 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.1744, allocations: 55.94 kB / 494.8 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.1744, allocations: 40 kB / 494.9 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.1775, allocations: 1.505 MB / 496.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009243/0.1868, allocations: 5.377 MB / 0.49 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.1893, allocations: 2.178 MB / 0.4921 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.1904, allocations: 0.6512 MB / 0.4928 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.1906, allocations: 102.1 kB / 0.4929 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1906, allocations: 51.56 kB / 0.4929 GB, free: 10.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.657e-06/0.1907, allocations: 0 / 0.4929 GB, free: 10.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008981/0.1996, allocations: 3.102 MB / 0.4959 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.1997, allocations: 90.11 kB / 0.496 GB, free: 7.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.2004, allocations: 457.9 kB / 0.4965 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.635e-05/0.2005, allocations: 45.7 kB / 0.4965 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.2008, allocations: 471.4 kB / 0.4969 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.2012, allocations: 429.7 kB / 0.4974 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.2016, allocations: 218.8 kB / 0.4976 GB, free: 5.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2018, allocations: 390.7 kB / 0.4979 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008825/0.2027, allocations: 454.4 kB / 0.4984 GB, free: 4.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.2037, allocations: 0.6924 MB / 0.499 GB, free: 4.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.2056, allocations: 1.194 MB / 0.5002 GB, free: 2.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.2057, allocations: 11.94 kB / 0.5002 GB, free: 2.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003163/0.2088, allocations: 1.59 MB / 0.5018 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2089, allocations: 8 kB / 0.5018 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.2089, allocations: 4 kB / 0.5018 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.2106, allocations: 0.5204 MB / 0.5023 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.2114, allocations: 203.6 kB / 0.5025 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002046/0.2116, allocations: 45.27 kB / 0.5025 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/0.2124, allocations: 130.6 kB / 0.5027 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.2125, allocations: 59.92 kB / 0.5027 GB, free: 180 kB / 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.2457/0.4582, allocations: 268.5 kB / 0.503 GB, free: 48.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.4586, allocations: 78.47 kB / 0.503 GB, free: 48.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.462, allocations: 1.562 MB / 0.5046 GB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.462, allocations: 17.59 kB / 0.5046 GB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.462, allocations: 2.109 kB / 0.5046 GB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.462, allocations: 8.531 kB / 0.5046 GB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.467, allocations: 2.871 MB / 0.5074 GB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.467, allocations: 1.156 kB / 0.5074 GB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.4678, allocations: 144.5 kB / 0.5075 GB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.4694, allocations: 0.5179 MB / 0.508 GB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.4695, allocations: 24.67 kB / 0.5081 GB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003227/0.4698, allocations: 68.2 kB / 0.5081 GB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4698, allocations: 1.25 kB / 0.5081 GB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.4739, allocations: 2.335 MB / 0.5104 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.4744, allocations: 282.2 kB / 0.5107 GB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4745, allocations: 27.23 kB / 0.5107 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.4751, allocations: 46.36 kB / 0.5108 GB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.4753, allocations: 78.72 kB / 0.5108 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/0.4754, allocations: 35.05 kB / 0.5109 GB, free: 45.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004013/0.4758, allocations: 309.6 kB / 0.5112 GB, free: 45.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4758, allocations: 0 / 0.5112 GB, free: 45.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001084/0.4769, allocations: 341 kB / 0.5115 GB, free: 45.12 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.0003188/0.4772, allocations: 169 kB / 0.5116 GB, free: 45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003129/0.4803, allocations: 1.365 MB / 0.513 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4804, allocations: 0.625 kB / 0.513 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.4823, allocations: 0.7646 MB / 0.5137 GB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.483, allocations: 102 kB / 0.5138 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.4871, allocations: 2.621 MB / 0.5164 GB, free: 42.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.4878, allocations: 1.042 MB / 0.5174 GB, free: 41.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.4881, allocations: 69.48 kB / 0.5175 GB, free: 41.86 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4881, allocations: 0 / 0.5175 GB, free: 41.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01643/0.5045, allocations: 16.38 MB / 0.5335 GB, free: 32.31 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/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