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.001538/0.001538, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001482/0.001482, allocations: 206.8 kB / 23.73 MB, free: 4.523 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2343/0.2343, allocations: 46.94 MB / 360.9 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.91 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3097, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009336/0.319, allocations: 6.818 MB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.3251, allocations: 2.291 MB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.3258, allocations: 27.94 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004606/0.3304, allocations: 1.684 MB / 0.5712 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3329, allocations: 0.7104 MB / 0.5718 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.3354, allocations: 1.039 MB / 0.5729 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.3376, allocations: 1.416 MB / 0.5742 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.3391, allocations: 0.9262 MB / 0.5751 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008791/0.34, allocations: 0.6267 MB / 0.5758 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008989/0.3409, allocations: 0.7276 MB / 0.5765 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.3411, allocations: 116 kB / 0.5766 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007534/0.3418, allocations: 331.8 kB / 0.5769 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.3421, allocations: 298.9 kB / 0.5772 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005932/0.3427, allocations: 0.5287 MB / 0.5777 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.3449, allocations: 1.786 MB / 0.5794 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3449, allocations: 0 / 0.5794 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3449, allocations: 0 / 0.5794 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.3449, allocations: 0 / 0.5794 GB, free: 0.8594 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.00775/0.3527, allocations: 2.342 MB / 0.5817 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3527, allocations: 15.95 kB / 0.5817 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002774/0.353, allocations: 194.7 kB / 0.5819 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.3632, allocations: 1.331 MB / 0.5832 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3647, allocations: 0.5606 MB / 0.5838 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.654e-05/0.3648, allocations: 95.02 kB / 0.5839 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.365, allocations: 136.1 kB / 0.584 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.368, allocations: 1.587 MB / 0.5855 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.3681, allocations: 7.891 kB / 0.5856 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.3682, allocations: 56 kB / 0.5856 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.3683, allocations: 36 kB / 0.5856 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.371, allocations: 1.501 MB / 0.5871 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008398/0.3794, allocations: 4.449 MB / 0.5915 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.3815, allocations: 1.08 MB / 0.5925 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009908/0.3825, allocations: 0.5421 MB / 0.593 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.3826, allocations: 32.97 kB / 0.5931 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.3827, allocations: 55.5 kB / 0.5931 GB, free: 2.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.328e-06/0.3827, allocations: 0 / 0.5931 GB, free: 2.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009268/0.392, allocations: 2.998 MB / 0.5961 GB, free: 15.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.392, allocations: 94.09 kB / 0.5961 GB, free: 15.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/0.3926, allocations: 473.8 kB / 0.5966 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/0.3927, allocations: 45.7 kB / 0.5966 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3931, allocations: 480.9 kB / 0.5971 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/0.3935, allocations: 448 kB / 0.5975 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.3938, allocations: 222.8 kB / 0.5977 GB, free: 13.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.394, allocations: 378.8 kB / 0.5981 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009178/0.395, allocations: 462.4 kB / 0.5985 GB, free: 12.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3961, allocations: 0.6957 MB / 0.5992 GB, free: 12.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.3982, allocations: 1.206 MB / 0.6004 GB, free: 10.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3982, allocations: 0 / 0.6004 GB, free: 10.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003125/0.4013, allocations: 1.578 MB / 0.6019 GB, free: 9.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4014, allocations: 8 kB / 0.6019 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.4014, allocations: 8 kB / 0.6019 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.403, allocations: 0.5243 MB / 0.6025 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.4039, allocations: 203.6 kB / 0.6027 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002007/0.4041, allocations: 57.2 kB / 0.6027 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.4048, allocations: 119.1 kB / 0.6028 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4049, allocations: 51.98 kB / 0.6029 GB, free: 8.281 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.0004773/0.4053, allocations: 265.5 kB / 0.6031 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.4055, allocations: 87.44 kB / 0.6032 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.4085, allocations: 1.544 MB / 0.6047 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.4085, allocations: 23.86 kB / 0.6047 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4085, allocations: 0 / 0.6047 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4085, allocations: 7.984 kB / 0.6047 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.4132, allocations: 2.644 MB / 0.6073 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.4132, allocations: 0 / 0.6073 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.4139, allocations: 143.8 kB / 0.6075 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.4154, allocations: 0.5184 MB / 0.608 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.4155, allocations: 27.98 kB / 0.608 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003288/0.4158, allocations: 68.73 kB / 0.6081 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4158, allocations: 0 / 0.6081 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.4199, allocations: 2.322 MB / 0.6103 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.4205, allocations: 199.1 kB / 0.6105 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.4206, allocations: 35.91 kB / 0.6106 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.4212, allocations: 44.05 kB / 0.6106 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.4214, allocations: 85.14 kB / 0.6107 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.4215, allocations: 36 kB / 0.6107 GB, free: 140 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.4219, allocations: 310.9 kB / 0.611 GB, free: 15.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4219, allocations: 0 / 0.611 GB, free: 15.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001008/0.4229, allocations: 343.2 kB / 0.6113 GB, free: 15.5 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.004641/0.4275, allocations: 2.939 MB / 0.6142 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.4306, allocations: 1.276 MB / 0.6155 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4306, allocations: 0 / 0.6155 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.4323, allocations: 0.6811 MB / 0.6161 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.4331, allocations: 100.4 kB / 0.6162 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.4472, allocations: 8.386 MB / 0.6244 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.4477, allocations: 450.5 kB / 0.6248 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004528/0.4481, allocations: 110.8 kB / 0.6249 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.4487, allocations: 395.3 kB / 0.6253 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4487, allocations: 0 / 0.6253 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06074/0.5095, allocations: 21.92 MB / 0.6467 GB, free: 11.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.53, allocations: 3.375 kB / 0.6467 GB, free: 11.17 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.757248247013194]