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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 72.45 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1231, allocations: 61.05 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009189/0.1323, allocations: 6.786 MB / 0.5228 GB, free: 352 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.137, allocations: 2.267 MB / 0.525 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.1377, allocations: 27.94 kB / 0.525 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004145/0.1418, allocations: 1.688 MB / 0.5267 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.1443, allocations: 0.7301 MB / 0.5274 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.1471, allocations: 1.028 MB / 0.5284 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.1494, allocations: 1.436 MB / 0.5298 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.151, allocations: 0.9146 MB / 0.5307 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.1518, allocations: 0.6266 MB / 0.5313 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008515/0.1527, allocations: 0.6689 MB / 0.5319 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.1529, allocations: 116 kB / 0.5321 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.1537, allocations: 311.8 kB / 0.5324 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.154, allocations: 314.8 kB / 0.5327 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005868/0.1545, allocations: 0.5443 MB / 0.5332 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.1569, allocations: 1.801 MB / 0.5349 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.157, allocations: 0 / 0.5349 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.157, allocations: 0 / 0.5349 GB, free: 3.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.157, allocations: 0 / 0.5349 GB, free: 3.812 MB / 414.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.007839/0.1648, allocations: 2.358 MB / 0.5373 GB, free: 1.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1649, allocations: 12.02 kB / 0.5373 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002599/0.1651, allocations: 202.9 kB / 0.5375 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2382/0.4033, allocations: 1.492 MB / 0.5389 GB, free: 28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.405, allocations: 0.564 MB / 0.5395 GB, free: 27.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4051, allocations: 102.9 kB / 0.5396 GB, free: 27.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.4054, allocations: 134.2 kB / 0.5397 GB, free: 27.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.4083, allocations: 1.63 MB / 0.5413 GB, free: 27.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/0.4083, allocations: 9.859 kB / 0.5413 GB, free: 27.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.4084, allocations: 59.05 kB / 0.5413 GB, free: 27.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.4085, allocations: 33.86 kB / 0.5414 GB, free: 27.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.4115, allocations: 1.566 MB / 0.5429 GB, free: 27.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007923/0.4194, allocations: 4.488 MB / 0.5473 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.4214, allocations: 1.093 MB / 0.5484 GB, free: 23.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009056/0.4223, allocations: 0.5529 MB / 0.5489 GB, free: 23.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.4224, allocations: 29.88 kB / 0.5489 GB, free: 23.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4224, allocations: 46.41 kB / 0.549 GB, free: 23.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.128e-06/0.4224, allocations: 1 kB / 0.549 GB, free: 23.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009717/0.4322, allocations: 3.063 MB / 0.552 GB, free: 22.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.4322, allocations: 95.66 kB / 0.5521 GB, free: 22.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/0.4329, allocations: 496.1 kB / 0.5525 GB, free: 22.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/0.433, allocations: 46.92 kB / 0.5526 GB, free: 22.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.4333, allocations: 0.489 MB / 0.5531 GB, free: 22.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.4335, allocations: 454.2 kB / 0.5535 GB, free: 21.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.4339, allocations: 230.5 kB / 0.5537 GB, free: 21.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4341, allocations: 383 kB / 0.5541 GB, free: 21.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000901/0.435, allocations: 462.8 kB / 0.5545 GB, free: 21.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4361, allocations: 0.7479 MB / 0.5552 GB, free: 20.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.4385, allocations: 1.258 MB / 0.5565 GB, free: 19.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.4385, allocations: 5.469 kB / 0.5565 GB, free: 19.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003365/0.4419, allocations: 1.647 MB / 0.5581 GB, free: 18.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.4419, allocations: 8.938 kB / 0.5581 GB, free: 18.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.442, allocations: 7.719 kB / 0.5581 GB, free: 18.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.4437, allocations: 0.5306 MB / 0.5586 GB, free: 18.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/0.4446, allocations: 218 kB / 0.5588 GB, free: 18.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000234/0.4449, allocations: 56.89 kB / 0.5589 GB, free: 18.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.4457, allocations: 138.4 kB / 0.559 GB, free: 18.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.4458, allocations: 54.59 kB / 0.5591 GB, free: 18.68 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.0005825/0.4464, allocations: 274.2 kB / 0.5593 GB, free: 18.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.4466, allocations: 85.7 kB / 0.5594 GB, free: 18.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.4498, allocations: 1.561 MB / 0.5609 GB, free: 17.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.4499, allocations: 13.44 kB / 0.5609 GB, free: 17.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.4499, allocations: 4.562 kB / 0.5609 GB, free: 17.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.4499, allocations: 7.016 kB / 0.561 GB, free: 17.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004811/0.4547, allocations: 2.657 MB / 0.5635 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.4547, allocations: 5.406 kB / 0.5636 GB, free: 16.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.4553, allocations: 143.2 kB / 0.5637 GB, free: 16.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.4568, allocations: 0.5176 MB / 0.5642 GB, free: 16.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-05/0.4569, allocations: 37.14 kB / 0.5642 GB, free: 16.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001004/0.457, allocations: 28.5 kB / 0.5643 GB, free: 16.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.457, allocations: 1.188 kB / 0.5643 GB, free: 16.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.4609, allocations: 2.278 MB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.4615, allocations: 216.4 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4617, allocations: 22.66 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.4623, allocations: 44.31 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.4625, allocations: 81.72 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/0.4625, allocations: 38.12 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003839/0.4629, allocations: 320.9 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4629, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001034/0.464, allocations: 349.7 kB / 0.5675 GB, free: 14.54 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.004058/0.468, allocations: 2.888 MB / 0.5703 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.4711, allocations: 1.297 MB / 0.5716 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.4711, allocations: 4 kB / 0.5716 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.4729, allocations: 0.6763 MB / 0.5723 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.4738, allocations: 101.5 kB / 0.5724 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.4862, allocations: 8.636 MB / 0.5808 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4866, allocations: 467.2 kB / 0.5812 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004926/0.4871, allocations: 115 kB / 0.5813 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.4875, allocations: 395.3 kB / 0.5817 GB, free: 5.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4875, allocations: 0 / 0.5817 GB, free: 5.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/0.5601, allocations: 21.6 MB / 0.6028 GB, free: 16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.02, allocations: 7.859 kB / 0.6028 GB, free: 15.99 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.559169128071517]