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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002638/0.002638, allocations: 212.8 kB / 23.73 MB, free: 4.387 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.225/0.225, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.002952/0.002952, allocations: 64.14 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3733, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01046/0.3838, allocations: 6.813 MB / 0.5636 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.3894, allocations: 2.291 MB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008067/0.3902, allocations: 27.94 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.3945, allocations: 1.691 MB / 0.5675 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.3971, allocations: 0.7062 MB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.4, allocations: 1.035 MB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002378/0.4024, allocations: 1.409 MB / 0.5706 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.4041, allocations: 0.9105 MB / 0.5715 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.4052, allocations: 0.6267 MB / 0.5721 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008978/0.4061, allocations: 0.6495 MB / 0.5728 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.4063, allocations: 112 kB / 0.5729 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.407, allocations: 323.8 kB / 0.5732 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.4073, allocations: 290.9 kB / 0.5734 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005742/0.4079, allocations: 0.5405 MB / 0.574 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.4105, allocations: 1.79 MB / 0.5757 GB, free: 4.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4105, allocations: 0 / 0.5757 GB, free: 4.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4105, allocations: 0 / 0.5757 GB, free: 4.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.4106, allocations: 0 / 0.5757 GB, free: 4.258 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.008094/0.4187, allocations: 2.338 MB / 0.578 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4187, allocations: 8.031 kB / 0.578 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002901/0.419, allocations: 198.7 kB / 0.5782 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00978/0.4288, allocations: 1.335 MB / 0.5795 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.4304, allocations: 0.5567 MB / 0.58 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.4306, allocations: 103 kB / 0.5801 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.4308, allocations: 132.1 kB / 0.5803 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.4338, allocations: 1.591 MB / 0.5818 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.4339, allocations: 3.953 kB / 0.5818 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.434, allocations: 52 kB / 0.5819 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.434, allocations: 36 kB / 0.5819 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.4372, allocations: 1.505 MB / 0.5834 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009123/0.4464, allocations: 4.442 MB / 0.5877 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.4485, allocations: 1.076 MB / 0.5888 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4495, allocations: 0.546 MB / 0.5893 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.4497, allocations: 32.97 kB / 0.5893 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.4497, allocations: 55.5 kB / 0.5894 GB, free: 5.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.677e-06/0.4497, allocations: 0 / 0.5894 GB, free: 5.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009258/0.459, allocations: 3.002 MB / 0.5923 GB, free: 2.938 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.4591, allocations: 94.09 kB / 0.5924 GB, free: 2.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.4597, allocations: 473.8 kB / 0.5929 GB, free: 2.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/0.4597, allocations: 49.7 kB / 0.5929 GB, free: 2.297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.4601, allocations: 480.9 kB / 0.5934 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.4605, allocations: 444.1 kB / 0.5938 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.4608, allocations: 218.8 kB / 0.594 GB, free: 1.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.461, allocations: 382.8 kB / 0.5944 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/0.4619, allocations: 462.4 kB / 0.5948 GB, free: 336 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.4631, allocations: 0.6997 MB / 0.5955 GB, free: 15.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.4652, allocations: 1.209 MB / 0.5967 GB, free: 14.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4652, allocations: 0 / 0.5967 GB, free: 14.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003507/0.4687, allocations: 1.574 MB / 0.5982 GB, free: 12.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4688, allocations: 10.5 kB / 0.5982 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4688, allocations: 8 kB / 0.5982 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.4705, allocations: 0.5282 MB / 0.5987 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.4713, allocations: 199.6 kB / 0.5989 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002135/0.4715, allocations: 61.14 kB / 0.599 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.4722, allocations: 119.1 kB / 0.5991 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.4723, allocations: 55.98 kB / 0.5992 GB, free: 11.67 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.0004763/0.4728, allocations: 264.8 kB / 0.5994 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4729, allocations: 87.44 kB / 0.5995 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.476, allocations: 1.544 MB / 0.601 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.476, allocations: 19.92 kB / 0.601 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.476, allocations: 0 / 0.601 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.476, allocations: 7.984 kB / 0.601 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.481, allocations: 2.64 MB / 0.6036 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.481, allocations: 0 / 0.6036 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.4817, allocations: 143.8 kB / 0.6037 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.4832, allocations: 0.5184 MB / 0.6042 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.4833, allocations: 31.98 kB / 0.6043 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/0.4836, allocations: 68.73 kB / 0.6043 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4836, allocations: 0 / 0.6043 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004366/0.488, allocations: 2.325 MB / 0.6066 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.4885, allocations: 199.1 kB / 0.6068 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.4886, allocations: 31.92 kB / 0.6068 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.4892, allocations: 44.05 kB / 0.6069 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.4894, allocations: 85.14 kB / 0.607 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.4895, allocations: 32 kB / 0.607 GB, free: 3.543 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.4899, allocations: 310.9 kB / 0.6073 GB, free: 3.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4899, allocations: 0 / 0.6073 GB, free: 3.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001098/0.491, allocations: 347.2 kB / 0.6076 GB, free: 2.898 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.004857/0.4959, allocations: 2.931 MB / 0.6105 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.4989, allocations: 1.273 MB / 0.6117 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4989, allocations: 4.062 kB / 0.6117 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.5007, allocations: 0.6839 MB / 0.6124 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.5015, allocations: 101.9 kB / 0.6125 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.5157, allocations: 8.382 MB / 0.6207 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.5162, allocations: 458.5 kB / 0.6211 GB, free: 4.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004805/0.5167, allocations: 110.8 kB / 0.6212 GB, free: 4.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.5173, allocations: 395.3 kB / 0.6216 GB, free: 4.219 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5173, allocations: 3.938 kB / 0.6216 GB, free: 4.215 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06185/0.5791, allocations: 21.51 MB / 0.6426 GB, free: 14.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.06, allocations: 0 / 0.6426 GB, free: 14.98 MB / 494.1 MB " [Timeout remaining time 646] (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: 17.42682592011988]