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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.564/1.564, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.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.363/0.363, allocations: 44.24 MB / 326.5 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 75.89 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4017, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006772/0.4085, allocations: 7.772 MB / 0.5185 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.4124, allocations: 2.374 MB / 0.5208 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.4132, allocations: 27.94 kB / 0.5208 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.4163, allocations: 1.82 MB / 0.5226 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.4182, allocations: 0.9019 MB / 0.5235 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.4198, allocations: 0.8882 MB / 0.5244 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.4211, allocations: 1.444 MB / 0.5258 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.4224, allocations: 0.7705 MB / 0.5265 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.4232, allocations: 0.615 MB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008886/0.424, allocations: 0.747 MB / 0.5278 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.4242, allocations: 116 kB / 0.528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007816/0.425, allocations: 327.8 kB / 0.5283 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.4253, allocations: 302.9 kB / 0.5286 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.4259, allocations: 0.6724 MB / 0.5292 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.4283, allocations: 1.777 MB / 0.531 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4283, allocations: 0 / 0.531 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4283, allocations: 0 / 0.531 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.4283, allocations: 0 / 0.531 GB, free: 10.38 MB / 398.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.007855/0.4362, allocations: 2.445 MB / 0.5333 GB, free: 7.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4362, allocations: 11.89 kB / 0.5333 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.4365, allocations: 195 kB / 0.5335 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4474, allocations: 1.502 MB / 0.535 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.449, allocations: 0.6327 MB / 0.5356 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4491, allocations: 103.1 kB / 0.5357 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.4494, allocations: 140.1 kB / 0.5359 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.4522, allocations: 1.527 MB / 0.5373 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.4523, allocations: 11.89 kB / 0.5374 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.4524, allocations: 56 kB / 0.5374 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.4525, allocations: 32 kB / 0.5374 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.4553, allocations: 1.58 MB / 0.539 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009952/0.4652, allocations: 5.521 MB / 0.5444 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.4685, allocations: 2.233 MB / 0.5466 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.4695, allocations: 0.5552 MB / 0.5471 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.4697, allocations: 102.1 kB / 0.5472 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.4697, allocations: 51.44 kB / 0.5472 GB, free: 8.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.226e-06/0.4697, allocations: 4 kB / 0.5472 GB, free: 8.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009526/0.4792, allocations: 3.148 MB / 0.5503 GB, free: 5.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.4794, allocations: 90.11 kB / 0.5504 GB, free: 5.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.4802, allocations: 478 kB / 0.5509 GB, free: 5.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.4803, allocations: 45.7 kB / 0.5509 GB, free: 5.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.4808, allocations: 0.493 MB / 0.5514 GB, free: 4.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.4813, allocations: 448.1 kB / 0.5518 GB, free: 4.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.4818, allocations: 230.9 kB / 0.552 GB, free: 3.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.482, allocations: 386.8 kB / 0.5524 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.483, allocations: 459.1 kB / 0.5528 GB, free: 3.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.4842, allocations: 0.7478 MB / 0.5536 GB, free: 2.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.4865, allocations: 1.262 MB / 0.5548 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.4865, allocations: 0 / 0.5548 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003348/0.4898, allocations: 1.639 MB / 0.5564 GB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4899, allocations: 16.03 kB / 0.5564 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4899, allocations: 16 kB / 0.5564 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.4915, allocations: 0.5317 MB / 0.557 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.4923, allocations: 211.7 kB / 0.5572 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002134/0.4925, allocations: 53.2 kB / 0.5572 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.4932, allocations: 131 kB / 0.5573 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.4933, allocations: 59.98 kB / 0.5574 GB, free: 14.23 MB / 430.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.0005789/0.4939, allocations: 281.5 kB / 0.5577 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.494, allocations: 91.38 kB / 0.5577 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.497, allocations: 1.552 MB / 0.5593 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.497, allocations: 16 kB / 0.5593 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4971, allocations: 4 kB / 0.5593 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4971, allocations: 3.984 kB / 0.5593 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/0.5019, allocations: 2.856 MB / 0.5621 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.5019, allocations: 7.969 kB / 0.5621 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/0.5027, allocations: 143.8 kB / 0.5622 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.5042, allocations: 0.5223 MB / 0.5627 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.5043, allocations: 28 kB / 0.5628 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.38e-05/0.5043, allocations: 24.84 kB / 0.5628 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5043, allocations: 3.938 kB / 0.5628 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.5084, allocations: 2.283 MB / 0.565 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.5089, allocations: 284.1 kB / 0.5653 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.509, allocations: 31.92 kB / 0.5653 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.5096, allocations: 44.05 kB / 0.5654 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5098, allocations: 81.14 kB / 0.5654 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.5099, allocations: 35.98 kB / 0.5655 GB, free: 5.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.5103, allocations: 318.9 kB / 0.5658 GB, free: 5.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5103, allocations: 0 / 0.5658 GB, free: 5.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001097/0.5114, allocations: 351.3 kB / 0.5661 GB, free: 5.16 MB / 430.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.004652/0.5161, allocations: 2.881 MB / 0.5689 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.5192, allocations: 1.293 MB / 0.5702 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5192, allocations: 3.938 kB / 0.5702 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.521, allocations: 0.6891 MB / 0.5709 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.5218, allocations: 98.17 kB / 0.571 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.5363, allocations: 8.623 MB / 0.5794 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/0.5371, allocations: 1.048 MB / 0.5804 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.5376, allocations: 115 kB / 0.5805 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.5382, allocations: 391.3 kB / 0.5809 GB, free: 5.641 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5382, allocations: 4 kB / 0.5809 GB, free: 5.637 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05892/0.5971, allocations: 22.27 MB / 0.6026 GB, free: 15.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.05, allocations: 11.94 kB / 0.6026 GB, free: 15.32 MB / 478.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.49343618005514]