Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.001693/0.001693, 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.00219/0.00219, allocations: 216.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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2424/0.2424, allocations: 44.94 MB / 359.6 MB, free: 6.082 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",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.002009/0.002009, allocations: 67.91 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 65.47 MB / 0.5577 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003516/0.3303, allocations: 2.028 MB / 0.5597 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.3328, allocations: 1.278 MB / 0.561 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3329, allocations: 4 kB / 0.561 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.09e-05/0.333, allocations: 23.67 kB / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3331, allocations: 39.66 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.3337, allocations: 195.3 kB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.334, allocations: 184.1 kB / 0.5614 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.3342, allocations: 89.72 kB / 0.5615 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3344, allocations: 87.64 kB / 0.5616 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3345, allocations: 87.55 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.3346, allocations: 16 kB / 0.5617 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.3349, allocations: 151.9 kB / 0.5618 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.3349, allocations: 43.78 kB / 0.5618 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.335, allocations: 75.59 kB / 0.5619 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.3355, allocations: 326.5 kB / 0.5622 GB, free: 2.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3355, allocations: 4 kB / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3355, allocations: 0 / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3355, allocations: 0 / 0.5622 GB, free: 2.953 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006856/0.3362, allocations: 469.5 kB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3362, allocations: 8.031 kB / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.55e-05/0.3363, allocations: 24.78 kB / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.3364, allocations: 95.53 kB / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.3373, allocations: 88.69 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.3376, allocations: 166.1 kB / 0.563 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.3377, allocations: 25.38 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.3377, allocations: 40.38 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.3382, allocations: 278.4 kB / 0.5634 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3382, allocations: 3.953 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3383, allocations: 16 kB / 0.5634 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3383, allocations: 8 kB / 0.5634 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.3386, allocations: 203.9 kB / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3397, allocations: 0.6308 MB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.3404, allocations: 342.2 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.3406, allocations: 142.5 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3407, allocations: 4.438 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3407, allocations: 39 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.843e-06/0.3407, allocations: 0 / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=67): time 0.001749/0.3425, allocations: 0.7515 MB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3425, allocations: 60.06 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.3426, allocations: 97.86 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3426, allocations: 37.7 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.3427, allocations: 137.7 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.3429, allocations: 234 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.343, allocations: 86.34 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3432, allocations: 334.8 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.3434, allocations: 109.2 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3436, allocations: 148.8 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.3441, allocations: 283.2 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3441, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006236/0.3447, allocations: 369.4 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3448, allocations: 10.5 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3448, allocations: 4.25 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.3448, allocations: 7.938 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.3455, allocations: 187.8 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.3455, allocations: 4 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3456, allocations: 19.98 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3456, allocations: 16 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.3458, allocations: 149.7 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.3458, allocations: 23.86 kB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.3459, allocations: 46.3 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3459, allocations: 8 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3459, allocations: 0 / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.346, allocations: 3.984 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.3477, allocations: 0.8961 MB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3477, allocations: 0 / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.3483, allocations: 171.8 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.3483, allocations: 11.98 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3483, allocations: 12 kB / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3483, allocations: 0 / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3483, allocations: 0 / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.349, allocations: 482.2 kB / 0.5692 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.349, allocations: 19.86 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.349, allocations: 19.92 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3491, allocations: 12 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.3492, allocations: 40.58 kB / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.3492, allocations: 19.94 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.3493, allocations: 91.27 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3493, allocations: 0 / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.3496, allocations: 68 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.3509, allocations: 1.176 MB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.3515, allocations: 305.7 kB / 0.5709 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3515, allocations: 4 kB / 0.5709 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.3518, allocations: 171.7 kB / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3521, allocations: 23.94 kB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.3558, allocations: 2.71 MB / 0.5738 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.356, allocations: 169.3 kB / 0.5739 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.3561, allocations: 48.25 kB / 0.574 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3563, allocations: 95.41 kB / 0.5741 GB, free: 6.402 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3563, allocations: 0 / 0.5741 GB, free: 6.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3834, allocations: 5.155 MB / 0.5791 GB, free: 1.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.18, allocations: 3.938 kB / 0.5791 GB, free: 1.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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: 15.439543007989414]