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.001704/0.001704, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002246/0.002246, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2272/0.2272, allocations: 44.92 MB / 359.6 MB, free: 6.238 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",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.002111/0.002111, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3347, allocations: 65.49 MB / 0.5578 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009508/0.3442, allocations: 7.793 MB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.349, allocations: 2.443 MB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.3497, allocations: 31.94 kB / 0.5678 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004315/0.354, allocations: 1.835 MB / 0.5696 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.3561, allocations: 0.714 MB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.3586, allocations: 1.078 MB / 0.5714 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.3608, allocations: 1.409 MB / 0.5727 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.3623, allocations: 0.9301 MB / 0.5737 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/0.3631, allocations: 0.6228 MB / 0.5743 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.364, allocations: 0.7275 MB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.3642, allocations: 112 kB / 0.5751 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.3651, allocations: 339.8 kB / 0.5754 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.3654, allocations: 298.9 kB / 0.5757 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.3661, allocations: 0.6569 MB / 0.5763 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.3685, allocations: 1.774 MB / 0.5781 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3685, allocations: 7.938 kB / 0.5781 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3685, allocations: 0 / 0.5781 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.3685, allocations: 3.938 kB / 0.5781 GB, free: 2.898 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.008124/0.3767, allocations: 2.344 MB / 0.5804 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3767, allocations: 8.031 kB / 0.5804 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.848e-05/0.3768, allocations: 34.83 kB / 0.5804 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.377, allocations: 198.7 kB / 0.5806 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.3872, allocations: 1.331 MB / 0.5819 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3886, allocations: 0.5607 MB / 0.5824 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3887, allocations: 95.02 kB / 0.5825 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.389, allocations: 135.9 kB / 0.5827 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.3919, allocations: 1.491 MB / 0.5841 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.392, allocations: 7.953 kB / 0.5841 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.3921, allocations: 56 kB / 0.5842 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.3922, allocations: 35.98 kB / 0.5842 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.395, allocations: 1.521 MB / 0.5857 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/0.4037, allocations: 5.046 MB / 0.5906 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.4058, allocations: 1.076 MB / 0.5917 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4068, allocations: 0.5499 MB / 0.5922 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.4069, allocations: 48.94 kB / 0.5923 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.407, allocations: 51.55 kB / 0.5923 GB, free: 3.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.025e-06/0.407, allocations: 0 / 0.5923 GB, free: 3.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009558/0.4165, allocations: 2.994 MB / 0.5952 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.4166, allocations: 90.11 kB / 0.5953 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/0.4172, allocations: 469.9 kB / 0.5958 GB, free: 404 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.4172, allocations: 45.7 kB / 0.5958 GB, free: 352 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.4176, allocations: 477.1 kB / 0.5963 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.418, allocations: 452.2 kB / 0.5967 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.4184, allocations: 218.8 kB / 0.5969 GB, free: 15.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4186, allocations: 382.8 kB / 0.5973 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009606/0.4195, allocations: 454.4 kB / 0.5977 GB, free: 14.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4207, allocations: 0.6958 MB / 0.5984 GB, free: 13.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.4228, allocations: 1.202 MB / 0.5996 GB, free: 12.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4228, allocations: 4 kB / 0.5996 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0032/0.426, allocations: 1.582 MB / 0.6011 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.426, allocations: 11.98 kB / 0.6011 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.4261, allocations: 8 kB / 0.6011 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.4277, allocations: 0.5281 MB / 0.6016 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.4285, allocations: 207.5 kB / 0.6018 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002024/0.4287, allocations: 57.2 kB / 0.6019 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/0.4295, allocations: 123.1 kB / 0.602 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/0.4296, allocations: 47.98 kB / 0.6021 GB, free: 9.723 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.0004937/0.4301, allocations: 269.5 kB / 0.6023 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.4302, allocations: 83.48 kB / 0.6024 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.4333, allocations: 1.552 MB / 0.6039 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.4333, allocations: 16 kB / 0.6039 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4333, allocations: 0 / 0.6039 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4333, allocations: 7.969 kB / 0.6039 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.4383, allocations: 2.823 MB / 0.6067 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4383, allocations: 0 / 0.6067 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.439, allocations: 143.8 kB / 0.6068 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.4405, allocations: 0.5145 MB / 0.6073 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.4406, allocations: 35.92 kB / 0.6074 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003165/0.4409, allocations: 68.73 kB / 0.6074 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4409, allocations: 7.938 kB / 0.6074 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.4451, allocations: 2.314 MB / 0.6097 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.4455, allocations: 211 kB / 0.6099 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.4457, allocations: 20.06 kB / 0.6099 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.4463, allocations: 51.97 kB / 0.61 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4465, allocations: 81.09 kB / 0.61 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.4465, allocations: 36 kB / 0.6101 GB, free: 1.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.4469, allocations: 306.9 kB / 0.6104 GB, free: 1.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4469, allocations: 0 / 0.6104 GB, free: 1.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009767/0.4479, allocations: 359.2 kB / 0.6107 GB, free: 0.7422 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.004709/0.4526, allocations: 2.916 MB / 0.6136 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003108/0.4557, allocations: 1.281 MB / 0.6148 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4557, allocations: 0 / 0.6148 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.4575, allocations: 0.6881 MB / 0.6155 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.4583, allocations: 97.88 kB / 0.6156 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.473, allocations: 8.385 MB / 0.6238 GB, free: 3.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.4737, allocations: 1.044 MB / 0.6248 GB, free: 1.984 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.4743, allocations: 110.8 kB / 0.6249 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.4748, allocations: 395.3 kB / 0.6253 GB, free: 1.484 MB / 462.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4748, allocations: 0 / 0.6253 GB, free: 1.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.5517, allocations: 23.3 MB / 0.648 GB, free: 10.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.01, allocations: 4.062 kB / 0.648 GB, free: 10.39 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.680584822024684]