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.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.001245/0.001245, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001446/0.001446, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002022/0.002022, allocations: 74.08 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 65.46 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009664/0.344, allocations: 7.815 MB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.3492, allocations: 2.439 MB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.3503, allocations: 35.88 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.3549, allocations: 1.831 MB / 0.5689 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.3576, allocations: 0.7063 MB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.3605, allocations: 1.086 MB / 0.5706 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.3633, allocations: 1.413 MB / 0.572 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.3649, allocations: 0.934 MB / 0.5729 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.3659, allocations: 0.615 MB / 0.5735 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.3672, allocations: 0.7392 MB / 0.5742 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.3675, allocations: 112 kB / 0.5743 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.3686, allocations: 335.8 kB / 0.5746 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.3689, allocations: 298.9 kB / 0.5749 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000734/0.3697, allocations: 0.653 MB / 0.5756 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.3723, allocations: 1.77 MB / 0.5773 GB, free: 2.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3724, allocations: 0 / 0.5773 GB, free: 2.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3724, allocations: 0 / 0.5773 GB, free: 2.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.3724, allocations: 7.938 kB / 0.5773 GB, free: 2.922 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007795/0.3802, allocations: 2.342 MB / 0.5796 GB, free: 0.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3802, allocations: 8.031 kB / 0.5796 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002436/0.3805, allocations: 194.7 kB / 0.5798 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.3907, allocations: 1.335 MB / 0.5811 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.3926, allocations: 0.5529 MB / 0.5816 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3928, allocations: 95.02 kB / 0.5817 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.3931, allocations: 132.1 kB / 0.5818 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.3961, allocations: 1.494 MB / 0.5833 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.3962, allocations: 11.94 kB / 0.5833 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.3963, allocations: 52 kB / 0.5834 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.3963, allocations: 36 kB / 0.5834 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.3992, allocations: 1.517 MB / 0.5849 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008433/0.4076, allocations: 5.057 MB / 0.5898 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.4096, allocations: 1.072 MB / 0.5909 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009714/0.4106, allocations: 0.5577 MB / 0.5914 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.4108, allocations: 36.94 kB / 0.5914 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.4108, allocations: 51.56 kB / 0.5915 GB, free: 4.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.106e-06/0.4108, allocations: 0 / 0.5915 GB, free: 4.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008906/0.4197, allocations: 2.998 MB / 0.5944 GB, free: 1.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.4198, allocations: 90.11 kB / 0.5945 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.4203, allocations: 473.8 kB / 0.595 GB, free: 464 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.4204, allocations: 45.7 kB / 0.595 GB, free: 412 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.4208, allocations: 481.1 kB / 0.5955 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.4212, allocations: 448.1 kB / 0.5959 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.4215, allocations: 222.8 kB / 0.5961 GB, free: 15.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4217, allocations: 378.8 kB / 0.5965 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.4226, allocations: 458.4 kB / 0.5969 GB, free: 14.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.4237, allocations: 0.6958 MB / 0.5976 GB, free: 13.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.4257, allocations: 1.205 MB / 0.5988 GB, free: 12.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.4257, allocations: 4 kB / 0.5988 GB, free: 12.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003026/0.4288, allocations: 1.582 MB / 0.6003 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4288, allocations: 10.66 kB / 0.6003 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4288, allocations: 4.281 kB / 0.6003 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.4304, allocations: 0.5278 MB / 0.6008 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4311, allocations: 195.7 kB / 0.601 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000192/0.4313, allocations: 61.14 kB / 0.6011 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.432, allocations: 123.1 kB / 0.6012 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.4321, allocations: 51.92 kB / 0.6013 GB, free: 9.785 MB / 446.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.0004701/0.4326, allocations: 269.5 kB / 0.6015 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.4327, allocations: 87.48 kB / 0.6016 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.4357, allocations: 1.552 MB / 0.6031 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.4358, allocations: 12 kB / 0.6031 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4358, allocations: 0 / 0.6031 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4358, allocations: 7.969 kB / 0.6031 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.4407, allocations: 2.823 MB / 0.6059 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4407, allocations: 0 / 0.6059 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.4414, allocations: 139.8 kB / 0.606 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.4429, allocations: 0.5223 MB / 0.6065 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.443, allocations: 31.94 kB / 0.6066 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003153/0.4433, allocations: 64.8 kB / 0.6066 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-06/0.4433, allocations: 7.938 kB / 0.6066 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.4475, allocations: 2.318 MB / 0.6089 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.448, allocations: 211.1 kB / 0.6091 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.4481, allocations: 23.94 kB / 0.6091 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/0.4487, allocations: 47.97 kB / 0.6092 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.4488, allocations: 77.16 kB / 0.6092 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/0.4489, allocations: 43.92 kB / 0.6093 GB, free: 1.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00044/0.4494, allocations: 306.9 kB / 0.6096 GB, free: 1.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4494, allocations: 4 kB / 0.6096 GB, free: 1.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001024/0.4504, allocations: 355.2 kB / 0.6099 GB, free: 0.8008 MB / 446.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.004704/0.4551, allocations: 2.924 MB / 0.6128 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.4581, allocations: 1.272 MB / 0.614 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4581, allocations: 0 / 0.614 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.4598, allocations: 0.681 MB / 0.6147 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.4606, allocations: 108.1 kB / 0.6148 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.4754, allocations: 8.389 MB / 0.623 GB, free: 3.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.4761, allocations: 1.04 MB / 0.624 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004452/0.4766, allocations: 114.8 kB / 0.6241 GB, free: 1.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.4771, allocations: 395.3 kB / 0.6245 GB, free: 1.539 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4771, allocations: 0 / 0.6245 GB, free: 1.539 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06248/0.5396, allocations: 23.26 MB / 0.6472 GB, free: 10.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/14.9, allocations: 5.875 kB / 0.6472 GB, free: 10.48 MB / 494.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 18.112671131966636]