Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001863/0.001863, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001534/0.001534, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.12 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2655, allocations: 53.41 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003039/0.2685, allocations: 1.515 MB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2695, allocations: 0.4948 MB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.2696, allocations: 3.938 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2697, allocations: 15.92 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.2698, allocations: 7.875 kB / 433.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.27, allocations: 43.89 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2701, allocations: 51.92 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2702, allocations: 15.98 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2704, allocations: 31.86 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.2704, allocations: 31.83 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2705, allocations: 8 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.2705, allocations: 16 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2706, allocations: 11.92 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.2706, allocations: 23.92 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.2707, allocations: 69.64 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2708, allocations: 0 / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2708, allocations: 0 / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2708, allocations: 3.938 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000642/0.2714, allocations: 310.1 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2714, allocations: 15.98 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.2715, allocations: 34.75 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.2715, allocations: 8.891 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2717, allocations: 118.4 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2717, allocations: 384 / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2717, allocations: 8.375 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.2719, allocations: 89.77 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.272, allocations: 0 / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.272, allocations: 4 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.272, allocations: 7.922 kB / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2723, allocations: 79.86 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.2727, allocations: 263.9 kB / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.273, allocations: 78.56 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.2731, allocations: 48.94 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2731, allocations: 4 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2732, allocations: 30.56 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2732, allocations: 0 / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005505/0.2737, allocations: 153.7 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2738, allocations: 51.41 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.2739, allocations: 113.8 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2739, allocations: 30.02 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.2739, allocations: 96.03 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.274, allocations: 11.89 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.274, allocations: 17.72 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2741, allocations: 330.7 kB / 435.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2743, allocations: 36.02 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2744, allocations: 39.97 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.2747, allocations: 76.78 kB / 435.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2747, allocations: 4 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003397/0.275, allocations: 117.6 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2751, allocations: 4 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2751, allocations: 0 / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2751, allocations: 0 / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2752, allocations: 19.92 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2752, allocations: 4 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.774e-05/0.2753, allocations: 15.92 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2753, allocations: 11.92 kB / 435.6 MB, free: 1.871 MB / 334.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 (5): * Single equations (assignments): 5 * 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 8.281e-05/0.2754, allocations: 110.5 kB / 435.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2754, allocations: 4 kB / 435.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.2758, allocations: 129.6 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2758, allocations: 0 / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2758, allocations: 4 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2758, allocations: 3.984 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.276, allocations: 152.7 kB / 436 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.276, allocations: 7.875 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2761, allocations: 23.97 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2761, allocations: 0 / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2762, allocations: 0 / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2762, allocations: 192 / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2762, allocations: 4 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.2766, allocations: 227.4 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.2766, allocations: 4 kB / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2766, allocations: 0 / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2767, allocations: 15.98 kB / 436.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2767, allocations: 3.984 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2767, allocations: 4 kB / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.2768, allocations: 99.14 kB / 436.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2768, allocations: 4.281 kB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.277, allocations: 8 kB / 436.4 MB, free: 1.004 MB / 334.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 (7): * Single equations (assignments): 7 * 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.00074/0.2778, allocations: 0.7514 MB / 437.2 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.2781, allocations: 95.86 kB / 437.3 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2781, allocations: 0 / 437.3 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2783, allocations: 43.95 kB / 437.3 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2786, allocations: 8 kB / 437.3 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.2791, allocations: 196 kB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.2792, allocations: 83.27 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.2792, allocations: 0 / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.2793, allocations: 23.44 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2793, allocations: 0 / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.3093, allocations: 2.595 MB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11, allocations: 4 kB / 440.2 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.374018514994532]