Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001773/0.001773, 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.002237/0.002237, allocations: 211 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.213/0.213, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 75.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003342/0.3234, allocations: 2.024 MB / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3256, allocations: 1.278 MB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.3257, allocations: 8 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.3258, allocations: 27.66 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.3259, allocations: 35.66 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.3264, allocations: 195.3 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.3266, allocations: 180.1 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3268, allocations: 89.7 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.327, allocations: 91.58 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3271, allocations: 87.55 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3271, allocations: 20 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.3274, allocations: 147.9 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.3274, allocations: 47.78 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.3275, allocations: 79.58 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.3279, allocations: 314.6 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3279, allocations: 0 / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3279, allocations: 0 / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3279, allocations: 0 / 0.5651 GB, free: 15.58 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005836/0.3285, allocations: 469.5 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3285, allocations: 12.03 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.3287, allocations: 87.2 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.3296, allocations: 80.69 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.3299, allocations: 162.1 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3299, allocations: 29.03 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3299, allocations: 28.38 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.3303, allocations: 242.2 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3304, allocations: 0 / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.3304, allocations: 12 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3304, allocations: 8 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.3307, allocations: 166.5 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.3316, allocations: 0.5664 MB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.3321, allocations: 211.8 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3323, allocations: 65.23 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3323, allocations: 4.234 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3323, allocations: 38.8 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.3323, allocations: 0 / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004599/0.3328, allocations: 211.9 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3328, allocations: 59.34 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.3329, allocations: 105.8 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.333, allocations: 33.64 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.333, allocations: 152.5 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.3331, allocations: 95.17 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.3332, allocations: 37.7 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3333, allocations: 326.8 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.3334, allocations: 39.97 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.3335, allocations: 53.84 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3337, allocations: 117.3 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3337, allocations: 0 / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002669/0.334, allocations: 165.6 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.334, allocations: 4 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.334, allocations: 0 / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.334, allocations: 4 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.3344, allocations: 104.1 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3344, allocations: 4 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3345, allocations: 15.95 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3345, allocations: 11.98 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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.0001113/0.3346, allocations: 129.7 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.3346, allocations: 11.91 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.3347, allocations: 33.61 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3347, allocations: 3.938 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3347, allocations: 4 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3347, allocations: 4 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.335, allocations: 236.6 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.335, allocations: 0 / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.3353, allocations: 103.9 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.3353, allocations: 0 / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3353, allocations: 8 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3354, allocations: 7.938 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3354, allocations: 3.938 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3357, allocations: 275.6 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.3357, allocations: 15.84 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3357, allocations: 7.938 kB / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.3358, allocations: 15.92 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3359, allocations: 15.91 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3359, allocations: 8 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.3359, allocations: 83.28 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3359, allocations: 0 / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.3362, allocations: 59.78 kB / 0.5696 GB, free: 10.65 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 (27): * Single equations (assignments): 27 * 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.0007692/0.337, allocations: 0.8724 MB / 0.5705 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.3372, allocations: 127.9 kB / 0.5706 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3372, allocations: 0 / 0.5706 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3374, allocations: 68.84 kB / 0.5707 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3376, allocations: 18.75 kB / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.3397, allocations: 1.976 MB / 0.5726 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3399, allocations: 137.6 kB / 0.5728 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.932e-05/0.34, allocations: 17.41 kB / 0.5728 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.3401, allocations: 63.36 kB / 0.5728 GB, free: 7.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3401, allocations: 0 / 0.5728 GB, free: 7.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.3673, allocations: 3.325 MB / 0.5761 GB, free: 4.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.83, allocations: 6.25 kB / 0.5761 GB, free: 4.043 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 13.901676670007873]