Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001583/0.001583, allocations: 114.6 kB / 17.04 MB, free: 6.129 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.001729/0.001729, allocations: 195.1 kB / 17.98 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2361/0.2361, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1164, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008142/0.1246, allocations: 7.726 MB / 0.496 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.1294, allocations: 2.368 MB / 0.4983 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.1304, allocations: 27.94 kB / 0.4984 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003884/0.1343, allocations: 1.812 MB / 0.5001 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.1374, allocations: 0.8973 MB / 0.501 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.1397, allocations: 0.8844 MB / 0.5019 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.1418, allocations: 1.436 MB / 0.5033 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1432, allocations: 1.001 MB / 0.5043 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.144, allocations: 0.615 MB / 0.5049 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.1447, allocations: 0.747 MB / 0.5056 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1449, allocations: 112 kB / 0.5057 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007873/0.1457, allocations: 335.8 kB / 0.506 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.1459, allocations: 306.8 kB / 0.5063 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.1465, allocations: 0.6686 MB / 0.507 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.1484, allocations: 1.763 MB / 0.5087 GB, free: 7.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1484, allocations: 3.984 kB / 0.5087 GB, free: 7.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1484, allocations: 0 / 0.5087 GB, free: 7.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.1484, allocations: 0 / 0.5087 GB, free: 7.031 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007424/0.1559, allocations: 2.407 MB / 0.511 GB, free: 4.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.1559, allocations: 11.89 kB / 0.511 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.1665, allocations: 1.498 MB / 0.5125 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.168, allocations: 0.6246 MB / 0.5131 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.798e-05/0.1681, allocations: 99.09 kB / 0.5132 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.1683, allocations: 136.3 kB / 0.5133 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.1708, allocations: 1.539 MB / 0.5148 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.1709, allocations: 8 kB / 0.5148 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.171, allocations: 56 kB / 0.5149 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.1711, allocations: 36 kB / 0.5149 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.1736, allocations: 1.58 MB / 0.5165 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00747/0.1811, allocations: 5.511 MB / 0.5219 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.1835, allocations: 2.362 MB / 0.5242 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/0.1845, allocations: 0.6607 MB / 0.5248 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1846, allocations: 106 kB / 0.5249 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1847, allocations: 51.56 kB / 0.525 GB, free: 5.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 2.634e-06/0.1847, allocations: 0 / 0.525 GB, free: 5.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008722/0.1934, allocations: 3.171 MB / 0.5281 GB, free: 2.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.1935, allocations: 90.11 kB / 0.5281 GB, free: 2.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.194, allocations: 473.9 kB / 0.5286 GB, free: 1.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.772e-05/0.1941, allocations: 49.7 kB / 0.5286 GB, free: 1.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.1944, allocations: 495.1 kB / 0.5291 GB, free: 1.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.1947, allocations: 421.7 kB / 0.5295 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.1951, allocations: 234.8 kB / 0.5297 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1952, allocations: 382.8 kB / 0.5301 GB, free: 260 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2628/0.458, allocations: 461 kB / 0.5305 GB, free: 38.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4592, allocations: 0.7438 MB / 0.5313 GB, free: 38.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.4609, allocations: 1.255 MB / 0.5325 GB, free: 38.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.4609, allocations: 3.656 kB / 0.5325 GB, free: 38.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002956/0.4639, allocations: 1.673 MB / 0.5341 GB, free: 38.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4639, allocations: 9.281 kB / 0.5341 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.464, allocations: 8.797 kB / 0.5342 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.4655, allocations: 0.5269 MB / 0.5347 GB, free: 38.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.4663, allocations: 216.4 kB / 0.5349 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002072/0.4666, allocations: 57.08 kB / 0.5349 GB, free: 38.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.4673, allocations: 131.3 kB / 0.5351 GB, free: 38.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.4674, allocations: 50.27 kB / 0.5351 GB, free: 38.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0004207/0.4678, allocations: 274.7 kB / 0.5354 GB, free: 37.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.4679, allocations: 85.59 kB / 0.5354 GB, free: 37.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.4706, allocations: 1.576 MB / 0.537 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.4706, allocations: 16.8 kB / 0.537 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4706, allocations: 4.906 kB / 0.537 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.4707, allocations: 6.234 kB / 0.537 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.475, allocations: 2.894 MB / 0.5398 GB, free: 35.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.475, allocations: 1.469 kB / 0.5398 GB, free: 35.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.4756, allocations: 148 kB / 0.54 GB, free: 35.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.477, allocations: 0.5196 MB / 0.5405 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/0.4771, allocations: 25.67 kB / 0.5405 GB, free: 35.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.026e-05/0.4772, allocations: 31.69 kB / 0.5405 GB, free: 35.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4772, allocations: 5.375 kB / 0.5405 GB, free: 35.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.481, allocations: 2.296 MB / 0.5428 GB, free: 34.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.4814, allocations: 280.3 kB / 0.5431 GB, free: 34.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4816, allocations: 28.39 kB / 0.5431 GB, free: 34.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.4821, allocations: 43.62 kB / 0.5431 GB, free: 34.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.4823, allocations: 84.66 kB / 0.5432 GB, free: 34.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/0.4824, allocations: 40.25 kB / 0.5432 GB, free: 34.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003704/0.4828, allocations: 316 kB / 0.5435 GB, free: 34.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4828, allocations: 0 / 0.5435 GB, free: 34.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4839, allocations: 343.4 kB / 0.5439 GB, free: 33.99 MB / 414.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 (86): * Single equations (assignments): 85 * 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.0002725/0.4841, allocations: 159.6 kB / 0.544 GB, free: 33.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.4871, allocations: 1.394 MB / 0.5454 GB, free: 33.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4871, allocations: 1.469 kB / 0.5454 GB, free: 33.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.4888, allocations: 0.772 MB / 0.5461 GB, free: 33.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.4895, allocations: 103.5 kB / 0.5462 GB, free: 33.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.4929, allocations: 2.132 MB / 0.5483 GB, free: 31.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.4935, allocations: 1.046 MB / 0.5493 GB, free: 31.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4937, allocations: 72.64 kB / 0.5494 GB, free: 31.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4938, allocations: 0 / 0.5494 GB, free: 31.21 MB / 414.1 MB Notification: Performance of Templates: time 0.02253/0.5163, allocations: 16.73 MB / 0.5658 GB, free: 22.84 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches