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.001187/0.001187, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001174/0.001174, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2008/0.2008, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3838, allocations: 60.81 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01003/0.3939, allocations: 7.729 MB / 0.5264 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.4001, allocations: 2.36 MB / 0.5287 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.4009, allocations: 28.69 kB / 0.5288 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003861/0.4048, allocations: 1.822 MB / 0.5306 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.4073, allocations: 0.8647 MB / 0.5314 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.4095, allocations: 0.8934 MB / 0.5323 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.4114, allocations: 1.407 MB / 0.5336 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.4128, allocations: 1.003 MB / 0.5346 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.4137, allocations: 0.6022 MB / 0.5352 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007507/0.4145, allocations: 0.7246 MB / 0.5359 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.4146, allocations: 112.2 kB / 0.536 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008121/0.4154, allocations: 330.3 kB / 0.5363 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.4157, allocations: 293.4 kB / 0.5366 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.4162, allocations: 0.6616 MB / 0.5373 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.4183, allocations: 1.761 MB / 0.539 GB, free: 5.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4183, allocations: 7.938 kB / 0.539 GB, free: 5.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4183, allocations: 1.156 kB / 0.539 GB, free: 5.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.4183, allocations: 0 / 0.539 GB, free: 5.336 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.007498/0.4258, allocations: 2.413 MB / 0.5414 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4259, allocations: 8.406 kB / 0.5414 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/0.4354, allocations: 1.397 MB / 0.5427 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4367, allocations: 0.6121 MB / 0.5433 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.4368, allocations: 97.77 kB / 0.5434 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.437, allocations: 133.1 kB / 0.5435 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.4396, allocations: 1.492 MB / 0.545 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.4396, allocations: 0 / 0.545 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.4398, allocations: 52 kB / 0.545 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.4398, allocations: 39.98 kB / 0.5451 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.4423, allocations: 1.509 MB / 0.5466 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007502/0.4498, allocations: 5.347 MB / 0.5518 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.4522, allocations: 2.19 MB / 0.5539 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009612/0.4532, allocations: 0.6475 MB / 0.5546 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.4534, allocations: 102.1 kB / 0.5546 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.4534, allocations: 51.56 kB / 0.5547 GB, free: 6.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.497e-06/0.4534, allocations: 0 / 0.5547 GB, free: 6.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=127): time 0.008533/0.462, allocations: 3.098 MB / 0.5577 GB, free: 3.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.4621, allocations: 90.11 kB / 0.5578 GB, free: 3.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.4626, allocations: 469.9 kB / 0.5583 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.4627, allocations: 49.64 kB / 0.5583 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.463, allocations: 476.9 kB / 0.5588 GB, free: 2.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.4633, allocations: 448.2 kB / 0.5592 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.4637, allocations: 214.8 kB / 0.5594 GB, free: 1.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4638, allocations: 386.7 kB / 0.5598 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.4646, allocations: 450.5 kB / 0.5602 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4657, allocations: 0.7036 MB / 0.5609 GB, free: 156 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.4676, allocations: 1.194 MB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4676, allocations: 0 / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002737/0.4704, allocations: 1.59 MB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4704, allocations: 10.81 kB / 0.5636 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4704, allocations: 8 kB / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.4719, allocations: 0.5359 MB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.4727, allocations: 195.7 kB / 0.5643 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001955/0.4729, allocations: 57.2 kB / 0.5644 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.4737, allocations: 138.9 kB / 0.5645 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.4738, allocations: 44 kB / 0.5646 GB, free: 12.28 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.0004813/0.4743, allocations: 265.6 kB / 0.5648 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.4745, allocations: 83.48 kB / 0.5649 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.4772, allocations: 1.571 MB / 0.5664 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4772, allocations: 15.94 kB / 0.5664 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4772, allocations: 0 / 0.5664 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4772, allocations: 3.984 kB / 0.5664 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.4817, allocations: 2.871 MB / 0.5692 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4817, allocations: 0 / 0.5692 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.4823, allocations: 139.8 kB / 0.5694 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.4837, allocations: 0.5184 MB / 0.5699 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.4838, allocations: 27.98 kB / 0.5699 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002887/0.4841, allocations: 72.73 kB / 0.57 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4841, allocations: 7.938 kB / 0.57 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.4878, allocations: 2.329 MB / 0.5723 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.4883, allocations: 284.1 kB / 0.5725 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.4884, allocations: 31.88 kB / 0.5726 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.4891, allocations: 43.97 kB / 0.5726 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.4893, allocations: 77.2 kB / 0.5727 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.4894, allocations: 40.06 kB / 0.5727 GB, free: 3.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003726/0.4898, allocations: 314.8 kB / 0.573 GB, free: 3.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4898, allocations: 0 / 0.573 GB, free: 3.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001104/0.4909, allocations: 339.3 kB / 0.5733 GB, free: 3.145 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.0002954/0.4912, allocations: 159.1 kB / 0.5735 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.4941, allocations: 1.359 MB / 0.5748 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4941, allocations: 4 kB / 0.5748 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.4958, allocations: 0.7701 MB / 0.5756 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.4965, allocations: 97.83 kB / 0.5757 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.5004, allocations: 2.081 MB / 0.5777 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.5011, allocations: 1.04 MB / 0.5787 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004563/0.5016, allocations: 110.8 kB / 0.5788 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.5018, allocations: 59.42 kB / 0.5789 GB, free: 13.4 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5018, allocations: 0 / 0.5789 GB, free: 13.4 MB / 446.1 MB Notification: Performance of Templates: time 0.02375/0.5255, allocations: 14.04 MB / 0.5926 GB, free: 15.43 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/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