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.00129/0.00129, allocations: 109 kB / 20.48 MB, free: 1.492 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.001467/0.001467, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.718/1.718, allocations: 207.6 MB / 234.6 MB, free: 10 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.3601/0.3601, allocations: 44.25 MB / 331.1 MB, free: 9.625 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",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.002281/0.002281, allocations: 63.91 kB / 468.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1492, allocations: 61.04 MB / 0.5169 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01058/0.1598, allocations: 7.793 MB / 0.5245 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005953/0.1658, allocations: 2.38 MB / 0.5268 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.167, allocations: 27.94 kB / 0.5269 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.1716, allocations: 1.828 MB / 0.5287 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.1746, allocations: 0.7418 MB / 0.5294 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.1774, allocations: 1.075 MB / 0.5304 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.18, allocations: 1.448 MB / 0.5318 GB, free: 8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.1818, allocations: 0.9341 MB / 0.5328 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.1829, allocations: 0.6267 MB / 0.5334 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1841, allocations: 0.7509 MB / 0.5341 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.1844, allocations: 112 kB / 0.5342 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009287/0.1853, allocations: 331.8 kB / 0.5345 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.1856, allocations: 306.8 kB / 0.5348 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007477/0.1863, allocations: 0.6686 MB / 0.5355 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.1895, allocations: 1.782 MB / 0.5372 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1895, allocations: 0 / 0.5372 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1895, allocations: 0 / 0.5372 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.1895, allocations: 0 / 0.5372 GB, free: 2.465 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.008751/0.1983, allocations: 2.358 MB / 0.5395 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.1983, allocations: 11.97 kB / 0.5395 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.551e-05/0.1984, allocations: 38.91 kB / 0.5396 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2986/0.497, allocations: 194.7 kB / 0.5398 GB, free: 27.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.5084, allocations: 1.503 MB / 0.5412 GB, free: 27.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.5101, allocations: 0.5648 MB / 0.5418 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5102, allocations: 104.5 kB / 0.5419 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.5105, allocations: 133.5 kB / 0.542 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.5136, allocations: 1.53 MB / 0.5435 GB, free: 27.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.5136, allocations: 7.906 kB / 0.5435 GB, free: 27.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.5137, allocations: 56.41 kB / 0.5436 GB, free: 27.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.5138, allocations: 33.72 kB / 0.5436 GB, free: 27.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.5168, allocations: 1.583 MB / 0.5451 GB, free: 26.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/0.5252, allocations: 5.107 MB / 0.5501 GB, free: 23.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.5275, allocations: 1.104 MB / 0.5512 GB, free: 23.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.5286, allocations: 0.5518 MB / 0.5517 GB, free: 22.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.5288, allocations: 32.2 kB / 0.5518 GB, free: 22.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.5288, allocations: 52.19 kB / 0.5518 GB, free: 22.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.499e-06/0.5288, allocations: 0 / 0.5518 GB, free: 22.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.0102/0.539, allocations: 3.063 MB / 0.5548 GB, free: 21.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.5391, allocations: 90.34 kB / 0.5549 GB, free: 21.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007148/0.5398, allocations: 488.8 kB / 0.5554 GB, free: 21.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.5399, allocations: 46.81 kB / 0.5554 GB, free: 21.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.5402, allocations: 498 kB / 0.5559 GB, free: 21.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.5406, allocations: 456.3 kB / 0.5563 GB, free: 20.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.541, allocations: 228 kB / 0.5565 GB, free: 20.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5411, allocations: 386.9 kB / 0.5569 GB, free: 20.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009596/0.5421, allocations: 464.9 kB / 0.5573 GB, free: 20.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.5432, allocations: 0.7504 MB / 0.5581 GB, free: 19.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.5452, allocations: 1.258 MB / 0.5593 GB, free: 18.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.5452, allocations: 2.719 kB / 0.5593 GB, free: 18.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003153/0.5484, allocations: 1.644 MB / 0.5609 GB, free: 18.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5484, allocations: 8.562 kB / 0.5609 GB, free: 18.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.5484, allocations: 7.875 kB / 0.5609 GB, free: 18.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.55, allocations: 0.5371 MB / 0.5615 GB, free: 17.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009709/0.551, allocations: 211 kB / 0.5617 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002333/0.5512, allocations: 64.33 kB / 0.5617 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/0.552, allocations: 130.7 kB / 0.5618 GB, free: 17.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5521, allocations: 53.48 kB / 0.5619 GB, free: 17.84 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.0004915/0.5526, allocations: 272.2 kB / 0.5621 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.5528, allocations: 87.72 kB / 0.5622 GB, free: 17.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.5556, allocations: 1.562 MB / 0.5638 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5556, allocations: 17.69 kB / 0.5638 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5556, allocations: 0 / 0.5638 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.5556, allocations: 6.469 kB / 0.5638 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.5623, allocations: 2.844 MB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.5623, allocations: 0 / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.5634, allocations: 143.4 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/0.5658, allocations: 0.5224 MB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5659, allocations: 30.61 kB / 0.5672 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001431/0.566, allocations: 23.28 kB / 0.5673 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.566, allocations: 5.031 kB / 0.5673 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/0.5724, allocations: 2.285 MB / 0.5695 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/0.5732, allocations: 212.6 kB / 0.5697 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.5734, allocations: 25.66 kB / 0.5697 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.5746, allocations: 46.23 kB / 0.5698 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.5749, allocations: 82.73 kB / 0.5698 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.575, allocations: 40.64 kB / 0.5699 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006691/0.5757, allocations: 321 kB / 0.5702 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5757, allocations: 0 / 0.5702 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001455/0.5771, allocations: 349.8 kB / 0.5705 GB, free: 13.64 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.004683/0.5818, allocations: 2.89 MB / 0.5733 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.5852, allocations: 1.3 MB / 0.5746 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5852, allocations: 0 / 0.5746 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.587, allocations: 0.6817 MB / 0.5753 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.588, allocations: 99.88 kB / 0.5754 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.6017, allocations: 8.635 MB / 0.5838 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.6022, allocations: 1.052 MB / 0.5848 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.6027, allocations: 111 kB / 0.5849 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.6033, allocations: 399.3 kB / 0.5853 GB, free: 3.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6033, allocations: 0 / 0.5853 GB, free: 3.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/0.6623, allocations: 23.49 MB / 0.6083 GB, free: 11.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.11, allocations: 16.88 kB / 0.6083 GB, free: 11.65 MB / 446.1 MB " [Timeout remaining time 645] (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: 19.511858740996104]