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.001289/0.001289, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001425/0.001425, allocations: 211.9 kB / 23.78 MB, free: 4.523 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.795/1.795, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2606/0.2606, allocations: 44.27 MB / 331.1 MB, free: 9.305 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.00221/0.00221, allocations: 71.91 kB / 468.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1636, allocations: 61.03 MB / 0.5169 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01126/0.1749, allocations: 6.778 MB / 0.5235 GB, free: 376 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.181, allocations: 2.256 MB / 0.5257 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.1826, allocations: 35.94 kB / 0.5258 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.1875, allocations: 1.695 MB / 0.5274 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.1905, allocations: 0.7146 MB / 0.5281 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.1936, allocations: 1.036 MB / 0.5291 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.1967, allocations: 1.436 MB / 0.5305 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.199, allocations: 0.9379 MB / 0.5315 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.2003, allocations: 0.6267 MB / 0.5321 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2019, allocations: 0.7509 MB / 0.5328 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.2025, allocations: 112 kB / 0.5329 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.2038, allocations: 327.8 kB / 0.5332 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.2043, allocations: 306.8 kB / 0.5335 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.2055, allocations: 0.552 MB / 0.5341 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.2088, allocations: 1.798 MB / 0.5358 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2089, allocations: 0 / 0.5358 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2089, allocations: 0 / 0.5358 GB, free: 3.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.507e-05/0.2089, allocations: 0 / 0.5358 GB, free: 3.727 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.008541/0.2175, allocations: 2.362 MB / 0.5381 GB, free: 1.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2175, allocations: 8.031 kB / 0.5381 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.54e-05/0.2176, allocations: 34.91 kB / 0.5382 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.2178, allocations: 199 kB / 0.5383 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2687/0.4865, allocations: 1.495 MB / 0.5398 GB, free: 28.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4882, allocations: 0.5654 MB / 0.5404 GB, free: 28.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.4883, allocations: 102.9 kB / 0.5405 GB, free: 28.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.4886, allocations: 135.4 kB / 0.5406 GB, free: 28.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.4916, allocations: 1.629 MB / 0.5422 GB, free: 27.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.4916, allocations: 10.2 kB / 0.5422 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.4917, allocations: 57.67 kB / 0.5422 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.4918, allocations: 33.94 kB / 0.5423 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.4945, allocations: 1.583 MB / 0.5438 GB, free: 27.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007983/0.5025, allocations: 4.488 MB / 0.5482 GB, free: 24.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.5045, allocations: 1.103 MB / 0.5493 GB, free: 24.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008726/0.5054, allocations: 0.5516 MB / 0.5498 GB, free: 23.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5055, allocations: 25.27 kB / 0.5498 GB, free: 23.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5055, allocations: 50.34 kB / 0.5499 GB, free: 23.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.508e-06/0.5055, allocations: 0 / 0.5499 GB, free: 23.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009699/0.5152, allocations: 3.064 MB / 0.5529 GB, free: 23.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5153, allocations: 91.08 kB / 0.553 GB, free: 22.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.516, allocations: 486 kB / 0.5534 GB, free: 22.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.516, allocations: 47.84 kB / 0.5535 GB, free: 22.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.5164, allocations: 499.2 kB / 0.554 GB, free: 22.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.5169, allocations: 449.4 kB / 0.5544 GB, free: 21.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/0.5173, allocations: 225.8 kB / 0.5546 GB, free: 21.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5175, allocations: 385 kB / 0.555 GB, free: 21.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.5185, allocations: 469.9 kB / 0.5554 GB, free: 21.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.5198, allocations: 0.7466 MB / 0.5561 GB, free: 20.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.5222, allocations: 1.257 MB / 0.5574 GB, free: 19.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.5222, allocations: 4.75 kB / 0.5574 GB, free: 19.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004256/0.5265, allocations: 1.645 MB / 0.559 GB, free: 19.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.5265, allocations: 9.094 kB / 0.559 GB, free: 19.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.5266, allocations: 7.969 kB / 0.559 GB, free: 19.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.5285, allocations: 0.5323 MB / 0.5595 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.5293, allocations: 215 kB / 0.5597 GB, free: 19.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002198/0.5295, allocations: 61.31 kB / 0.5598 GB, free: 18.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.5304, allocations: 133.5 kB / 0.5599 GB, free: 18.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.5305, allocations: 55.14 kB / 0.56 GB, free: 18.89 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.0007146/0.5312, allocations: 278.6 kB / 0.5602 GB, free: 18.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.5314, allocations: 88.12 kB / 0.5603 GB, free: 18.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.5347, allocations: 1.559 MB / 0.5618 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.5347, allocations: 13.67 kB / 0.5618 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5347, allocations: 0.6875 kB / 0.5618 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.5347, allocations: 7.453 kB / 0.5619 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/0.5396, allocations: 2.661 MB / 0.5645 GB, free: 16.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.5396, allocations: 5 kB / 0.5645 GB, free: 16.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/0.5403, allocations: 142.1 kB / 0.5646 GB, free: 16.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.542, allocations: 0.5176 MB / 0.5651 GB, free: 16.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.5421, allocations: 30.98 kB / 0.5651 GB, free: 16.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000104/0.5422, allocations: 26.3 kB / 0.5652 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5422, allocations: 6 kB / 0.5652 GB, free: 16.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/0.5464, allocations: 2.272 MB / 0.5674 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/0.547, allocations: 220.7 kB / 0.5676 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5471, allocations: 26.25 kB / 0.5676 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.5477, allocations: 48.56 kB / 0.5677 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.548, allocations: 81.3 kB / 0.5677 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.548, allocations: 34.06 kB / 0.5678 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.5485, allocations: 323.9 kB / 0.5681 GB, free: 14.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5485, allocations: 0 / 0.5681 GB, free: 14.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001271/0.5497, allocations: 351.6 kB / 0.5684 GB, free: 14.74 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.004411/0.5542, allocations: 2.886 MB / 0.5712 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.5575, allocations: 1.294 MB / 0.5725 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5575, allocations: 1.375 kB / 0.5725 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/0.5595, allocations: 0.6867 MB / 0.5732 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.5605, allocations: 100.9 kB / 0.5733 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5737, allocations: 8.635 MB / 0.5817 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.5742, allocations: 463.3 kB / 0.5821 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007149/0.5749, allocations: 115 kB / 0.5822 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.5755, allocations: 403.3 kB / 0.5826 GB, free: 5.602 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5755, allocations: 0 / 0.5826 GB, free: 5.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08638/0.6619, allocations: 21.64 MB / 0.6038 GB, free: 15.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.14, allocations: 0 / 0.6038 GB, free: 15.96 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.382801976054907]