Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.95 MB / 360.8 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 79.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3457, allocations: 66.08 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003354/0.349, allocations: 2.036 MB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3512, allocations: 1.282 MB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.3513, allocations: 4 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.3514, allocations: 27.67 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3515, allocations: 35.66 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.352, allocations: 195.2 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3522, allocations: 180.1 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.3524, allocations: 77.73 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3526, allocations: 91.58 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.3527, allocations: 79.48 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3527, allocations: 20 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.353, allocations: 147.9 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.353, allocations: 43.84 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.18e-05/0.3531, allocations: 79.58 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.3535, allocations: 322.5 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3535, allocations: 0 / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3535, allocations: 0 / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3535, allocations: 4 kB / 0.5652 GB, free: 15.42 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.0005656/0.3541, allocations: 461.5 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3541, allocations: 12.03 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.3542, allocations: 87.2 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.3551, allocations: 80.7 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.3554, allocations: 166.1 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3554, allocations: 21.03 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.3554, allocations: 28.38 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.3558, allocations: 234.2 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3558, allocations: 4 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.3559, allocations: 16 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3559, allocations: 8 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.3562, allocations: 158.5 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.357, allocations: 0.5664 MB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.3576, allocations: 219.8 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3577, allocations: 53.31 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.3577, allocations: 8.219 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3577, allocations: 38.8 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.3577, allocations: 0 / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004404/0.3582, allocations: 215.9 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3582, allocations: 55.34 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.3583, allocations: 109.8 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3583, allocations: 33.7 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.3584, allocations: 156.5 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.3585, allocations: 103.1 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.3585, allocations: 37.72 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3587, allocations: 322.8 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.3588, allocations: 39.97 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.3589, allocations: 52.89 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3591, allocations: 117.3 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3591, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000282/0.3594, allocations: 169.5 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3594, allocations: 4 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3594, allocations: 0 / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3594, allocations: 7.984 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.3598, allocations: 103.9 kB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3598, allocations: 3.938 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.3598, allocations: 11.95 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3598, allocations: 8 kB / 0.5687 GB, free: 11.57 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.0001141/0.36, allocations: 129.8 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.36, allocations: 11.91 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.3601, allocations: 29.62 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3601, allocations: 3.938 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3601, allocations: 4 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3601, allocations: 4 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.3604, allocations: 240.6 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3604, allocations: 0 / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3607, allocations: 99.89 kB / 0.5692 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3607, allocations: 0 / 0.5692 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3608, allocations: 11.98 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3608, allocations: 3.938 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3608, allocations: 4 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.3611, allocations: 275.6 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3611, allocations: 19.83 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3611, allocations: 4 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.3612, allocations: 11.94 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3613, allocations: 12.22 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3613, allocations: 12 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.3614, allocations: 87.27 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3614, allocations: 3.938 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3616, allocations: 63.78 kB / 0.5697 GB, free: 10.49 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.0007935/0.3624, allocations: 0.8646 MB / 0.5706 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3627, allocations: 128.3 kB / 0.5707 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3627, allocations: 3.938 kB / 0.5707 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3628, allocations: 72.31 kB / 0.5708 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3631, allocations: 22.22 kB / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.3652, allocations: 1.972 MB / 0.5727 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.3654, allocations: 133.6 kB / 0.5728 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.419e-05/0.3655, allocations: 21.41 kB / 0.5729 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.3656, allocations: 63.41 kB / 0.5729 GB, free: 7.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3656, allocations: 0 / 0.5729 GB, free: 7.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.3941, allocations: 3.211 MB / 0.5761 GB, free: 3.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.6, allocations: 2.656 kB / 0.5761 GB, free: 3.969 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.738535371609032]