Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001315/0.001315, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001409/0.001409, allocations: 215.8 kB / 24.52 MB, free: 3.91 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2434/0.2434, allocations: 46.97 MB / 361.7 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 76.08 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3922, allocations: 66.03 MB / 0.5614 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009574/0.4018, allocations: 6.807 MB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004758/0.4065, allocations: 2.283 MB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008129/0.4073, allocations: 35.88 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.4116, allocations: 1.68 MB / 0.5719 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.4138, allocations: 0.7024 MB / 0.5726 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.4163, allocations: 1.039 MB / 0.5736 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.4182, allocations: 1.42 MB / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.4196, allocations: 0.9378 MB / 0.5759 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008539/0.4205, allocations: 0.619 MB / 0.5765 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009279/0.4214, allocations: 0.7314 MB / 0.5772 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.4216, allocations: 112 kB / 0.5773 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008447/0.4224, allocations: 323.8 kB / 0.5776 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.4227, allocations: 302.9 kB / 0.5779 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.4233, allocations: 0.5326 MB / 0.5785 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.4257, allocations: 1.786 MB / 0.5802 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4257, allocations: 0 / 0.5802 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4257, allocations: 0 / 0.5802 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4257, allocations: 4 kB / 0.5802 GB, free: 0.8633 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.007868/0.4336, allocations: 2.338 MB / 0.5825 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4337, allocations: 8.031 kB / 0.5825 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.402e-05/0.4337, allocations: 34.83 kB / 0.5825 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.4339, allocations: 194.7 kB / 0.5827 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009968/0.4439, allocations: 1.331 MB / 0.584 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.4454, allocations: 0.5645 MB / 0.5846 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4455, allocations: 99.02 kB / 0.5847 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.4457, allocations: 131.9 kB / 0.5848 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.4488, allocations: 1.591 MB / 0.5863 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.4488, allocations: 7.938 kB / 0.5863 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.4489, allocations: 56 kB / 0.5864 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.449, allocations: 32 kB / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.4517, allocations: 1.529 MB / 0.5879 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008111/0.4598, allocations: 4.442 MB / 0.5923 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4619, allocations: 1.072 MB / 0.5933 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009827/0.4628, allocations: 0.5538 MB / 0.5938 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.463, allocations: 36.97 kB / 0.5939 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.463, allocations: 43.56 kB / 0.5939 GB, free: 2.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.898e-06/0.463, allocations: 0 / 0.5939 GB, free: 2.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009797/0.4728, allocations: 2.998 MB / 0.5969 GB, free: 15.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.4729, allocations: 94.05 kB / 0.5969 GB, free: 15.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/0.4736, allocations: 465.9 kB / 0.5974 GB, free: 14.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.896e-05/0.4737, allocations: 53.64 kB / 0.5974 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.4741, allocations: 480.9 kB / 0.5979 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.4745, allocations: 440.1 kB / 0.5983 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/0.4748, allocations: 218.8 kB / 0.5985 GB, free: 13.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.4751, allocations: 386.8 kB / 0.5989 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009045/0.476, allocations: 462.4 kB / 0.5993 GB, free: 12.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.4771, allocations: 0.6918 MB / 0.6 GB, free: 12.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.4791, allocations: 1.209 MB / 0.6012 GB, free: 10.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4791, allocations: 0 / 0.6012 GB, free: 10.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00308/0.4822, allocations: 1.582 MB / 0.6027 GB, free: 9.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4822, allocations: 8 kB / 0.6027 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.4822, allocations: 8 kB / 0.6028 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.4838, allocations: 0.5204 MB / 0.6033 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.4847, allocations: 199.7 kB / 0.6034 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001959/0.4849, allocations: 57.14 kB / 0.6035 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.4856, allocations: 123.1 kB / 0.6036 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/0.4856, allocations: 55.98 kB / 0.6037 GB, free: 8.246 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.0004705/0.4861, allocations: 269.5 kB / 0.6039 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.4863, allocations: 83.48 kB / 0.604 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.4892, allocations: 1.548 MB / 0.6055 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.4893, allocations: 12 kB / 0.6055 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4893, allocations: 0 / 0.6055 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.4893, allocations: 11.97 kB / 0.6055 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004722/0.494, allocations: 2.64 MB / 0.6081 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.494, allocations: 0 / 0.6081 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/0.4947, allocations: 147.8 kB / 0.6083 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.4963, allocations: 0.5145 MB / 0.6088 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.4963, allocations: 31.92 kB / 0.6088 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003137/0.4967, allocations: 64.8 kB / 0.6089 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4967, allocations: 0 / 0.6089 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.5008, allocations: 2.322 MB / 0.6111 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.5013, allocations: 207 kB / 0.6113 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5014, allocations: 31.94 kB / 0.6114 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.502, allocations: 48.03 kB / 0.6114 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.5022, allocations: 81.16 kB / 0.6115 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.5023, allocations: 35.98 kB / 0.6115 GB, free: 108 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.5027, allocations: 310.9 kB / 0.6118 GB, free: 15.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5027, allocations: 3.938 kB / 0.6118 GB, free: 15.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001044/0.5038, allocations: 351.2 kB / 0.6121 GB, free: 15.45 MB / 462.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.004708/0.5085, allocations: 2.913 MB / 0.615 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.5115, allocations: 1.281 MB / 0.6162 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5116, allocations: 0 / 0.6162 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.5134, allocations: 0.6842 MB / 0.6169 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.5144, allocations: 105.9 kB / 0.617 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.5286, allocations: 8.375 MB / 0.6252 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.5291, allocations: 462.5 kB / 0.6256 GB, free: 1.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.5296, allocations: 110.8 kB / 0.6257 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.5301, allocations: 395.3 kB / 0.6261 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5301, allocations: 0 / 0.6261 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07481/0.6049, allocations: 21.56 MB / 0.6472 GB, free: 11.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.15, allocations: 7.812 kB / 0.6472 GB, free: 11.51 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.909524672082625]