Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 109.8 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 201.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 73.22 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1113, allocations: 62.45 MB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.00853/0.1199, allocations: 7.678 MB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.1244, allocations: 2.385 MB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009379/0.1253, allocations: 28 kB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003861/0.1292, allocations: 1.712 MB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.1314, allocations: 0.6328 MB / 492 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.1338, allocations: 0.9953 MB / 493 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.1358, allocations: 1.401 MB / 494.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.1375, allocations: 1.118 MB / 495.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008858/0.1384, allocations: 0.6072 MB / 496.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1394, allocations: 0.7275 MB / 496.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004132/0.1399, allocations: 116 kB / 497 MB, free: 4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.1411, allocations: 331.8 kB / 497.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.1415, allocations: 302.9 kB / 497.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007925/0.1423, allocations: 0.653 MB / 498.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.1443, allocations: 1.736 MB / 0.4883 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1443, allocations: 4 kB / 0.4883 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1443, allocations: 0 / 0.4883 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.1443, allocations: 4 kB / 0.4883 GB, free: 0.9727 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.007255/0.1516, allocations: 2.377 MB / 0.4906 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1516, allocations: 12.03 kB / 0.4906 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/0.1519, allocations: 194.7 kB / 0.4908 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009908/0.1618, allocations: 1.393 MB / 0.4922 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.1629, allocations: 0.6051 MB / 0.4928 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.163, allocations: 99.02 kB / 0.4929 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.1633, allocations: 132.1 kB / 0.493 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.1661, allocations: 1.491 MB / 0.4944 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.1661, allocations: 7.891 kB / 0.4944 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.1663, allocations: 52 kB / 0.4945 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.1663, allocations: 36 kB / 0.4945 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.1688, allocations: 1.513 MB / 0.496 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008523/0.1774, allocations: 5.615 MB / 0.5015 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.1798, allocations: 2.182 MB / 0.5036 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1845/0.3643, allocations: 0.6428 MB / 0.5043 GB, free: 40.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.3647, allocations: 187.8 kB / 0.5044 GB, free: 40.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3647, allocations: 47.44 kB / 0.5045 GB, free: 40.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.587e-06/0.3647, allocations: 1.062 kB / 0.5045 GB, free: 40.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009387/0.3741, allocations: 3.099 MB / 0.5075 GB, free: 39.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3741, allocations: 97.25 kB / 0.5076 GB, free: 39.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.3747, allocations: 468.2 kB / 0.508 GB, free: 39.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.3747, allocations: 42.23 kB / 0.5081 GB, free: 39.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.375, allocations: 473.9 kB / 0.5085 GB, free: 39.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.3752, allocations: 427.5 kB / 0.5089 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.3755, allocations: 215 kB / 0.5091 GB, free: 38.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.3756, allocations: 382.5 kB / 0.5095 GB, free: 38.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.3764, allocations: 458.3 kB / 0.5099 GB, free: 38.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.3773, allocations: 0.6925 MB / 0.5106 GB, free: 37.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.379, allocations: 1.203 MB / 0.5118 GB, free: 37.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.379, allocations: 5.5 kB / 0.5118 GB, free: 37.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002687/0.3817, allocations: 1.591 MB / 0.5134 GB, free: 36.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3817, allocations: 8.641 kB / 0.5134 GB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3817, allocations: 6.781 kB / 0.5134 GB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.3833, allocations: 0.5346 MB / 0.5139 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.384, allocations: 196 kB / 0.5141 GB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/0.3842, allocations: 51.7 kB / 0.5141 GB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.3849, allocations: 123 kB / 0.5142 GB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.385, allocations: 48.86 kB / 0.5143 GB, free: 36.07 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.0003598/0.3853, allocations: 276.2 kB / 0.5146 GB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3855, allocations: 81.78 kB / 0.5146 GB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.3883, allocations: 1.566 MB / 0.5162 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.3884, allocations: 13.73 kB / 0.5162 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3884, allocations: 0 / 0.5162 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.3884, allocations: 15.77 kB / 0.5162 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/0.3925, allocations: 2.868 MB / 0.519 GB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3926, allocations: 1.094 kB / 0.519 GB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.3932, allocations: 140.7 kB / 0.5191 GB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.3946, allocations: 0.5231 MB / 0.5196 GB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.3947, allocations: 24.19 kB / 0.5197 GB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002984/0.395, allocations: 70.28 kB / 0.5197 GB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.395, allocations: 1.156 kB / 0.5197 GB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.3986, allocations: 2.333 MB / 0.522 GB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.3989, allocations: 276.5 kB / 0.5223 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.3991, allocations: 22.62 kB / 0.5223 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.3997, allocations: 47.2 kB / 0.5223 GB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3999, allocations: 79.25 kB / 0.5224 GB, free: 31.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.3999, allocations: 41.25 kB / 0.5225 GB, free: 31.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.4003, allocations: 309.4 kB / 0.5228 GB, free: 31.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4003, allocations: 2.438 kB / 0.5228 GB, free: 31.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009101/0.4012, allocations: 340.2 kB / 0.5231 GB, free: 31.72 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.003686/0.4049, allocations: 2.958 MB / 0.526 GB, free: 29.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.4083, allocations: 1.398 MB / 0.5273 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4083, allocations: 0 / 0.5273 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.4099, allocations: 0.7733 MB / 0.5281 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.4106, allocations: 98.5 kB / 0.5282 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00993/0.4205, allocations: 9.152 MB / 0.5371 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4209, allocations: 1.04 MB / 0.5381 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.4214, allocations: 109.5 kB / 0.5382 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.4218, allocations: 387.3 kB / 0.5386 GB, free: 21.12 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4218, allocations: 0 / 0.5386 GB, free: 21.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.4506, allocations: 21.24 MB / 0.5593 GB, free: 128 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.4508, allocations: 237.7 kB / 0.5596 GB, free: 15.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.791, allocations: 0 / 0.5596 GB, free: 15.88 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches