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.001226/0.001226, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001434/0.001434, allocations: 215.6 kB / 24.54 MB, free: 4.02 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.427/1.427, allocations: 230.3 MB / 258 MB, free: 8.219 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.232/0.232, allocations: 46.88 MB / 361.3 MB, free: 4.461 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.00208/0.00208, allocations: 72.11 kB / 0.4966 GB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3415, allocations: 66.03 MB / 0.5611 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003405/0.3449, allocations: 2.148 MB / 0.5632 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3472, allocations: 1.402 MB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.3473, allocations: 4 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.3474, allocations: 27.66 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.3475, allocations: 35.66 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.3479, allocations: 195.3 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3481, allocations: 176.1 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.3483, allocations: 99.44 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3485, allocations: 87.58 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.986e-05/0.3486, allocations: 91.55 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3486, allocations: 16 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.3489, allocations: 147.9 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.3489, allocations: 51.77 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.349, allocations: 95.47 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.3495, allocations: 310.6 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3495, allocations: 3.984 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3495, allocations: 0 / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3495, allocations: 4 kB / 0.5658 GB, free: 15.95 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.0006394/0.3501, allocations: 0.526 MB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3501, allocations: 8.031 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.3503, allocations: 91.19 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/0.3511, allocations: 88.69 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.3514, allocations: 224 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3515, allocations: 21.03 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.3515, allocations: 32.38 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.3519, allocations: 230.2 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3519, allocations: 4 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.3519, allocations: 12 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.352, allocations: 15.94 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3523, allocations: 158.5 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.3532, allocations: 0.6518 MB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.3538, allocations: 215.3 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3539, allocations: 61.3 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3539, allocations: 4.172 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3539, allocations: 42.8 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.212e-06/0.3539, allocations: 0 / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004661/0.3544, allocations: 211.9 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3545, allocations: 59.34 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.3545, allocations: 109.8 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3546, allocations: 29.7 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.3547, allocations: 148.5 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.3547, allocations: 95.17 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.3548, allocations: 45.7 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.355, allocations: 322.8 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3551, allocations: 43.97 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.3552, allocations: 44.91 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3554, allocations: 117.3 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3554, allocations: 0 / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002854/0.3557, allocations: 169.6 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3557, allocations: 6.031 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3557, allocations: 0 / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3557, allocations: 4 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.3561, allocations: 103.8 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3561, allocations: 4 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.3561, allocations: 15.89 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3561, allocations: 8 kB / 0.5696 GB, free: 11.85 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.0001334/0.3563, allocations: 129.8 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.3563, allocations: 11.91 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.3564, allocations: 21.62 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3564, allocations: 11.92 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3564, allocations: 0 / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3564, allocations: 0 / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.3567, allocations: 289.4 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3567, allocations: 0 / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3571, allocations: 103.9 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3571, allocations: 0 / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3571, allocations: 4 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3571, allocations: 7.938 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3571, allocations: 0 / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.3575, allocations: 279.6 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.3575, allocations: 96.89 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3575, allocations: 11.98 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.3576, allocations: 3.938 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3577, allocations: 19.97 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.3577, allocations: 7.938 kB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.754e-05/0.3577, allocations: 87.53 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3577, allocations: 0 / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.358, allocations: 63.78 kB / 0.5707 GB, free: 10.63 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.0007782/0.3588, allocations: 0.8607 MB / 0.5715 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.3591, allocations: 127.9 kB / 0.5716 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.3591, allocations: 4 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3592, allocations: 72.84 kB / 0.5717 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3594, allocations: 15.92 kB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3618, allocations: 1.976 MB / 0.5737 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3621, allocations: 0.7434 MB / 0.5744 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.3622, allocations: 17.41 kB / 0.5744 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3623, allocations: 71.41 kB / 0.5745 GB, free: 6.613 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3623, allocations: 3.938 kB / 0.5745 GB, free: 6.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.3879, allocations: 2.877 MB / 0.5773 GB, free: 3.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.312, allocations: 10.8 kB / 0.5773 GB, free: 3.789 MB / 414.1 MB " [Timeout remaining time 652] (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.0.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: 11.358367732027546]