Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.0009739/0.0009739, allocations: 81.97 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001207/0.001207, allocations: 166.5 kB / 25.61 MB, free: 8.441 MB / 18.57 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 0.9219/0.9219, allocations: 177.1 MB / 206 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 274.1 MB, free: 4.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.684e-05, allocations: 6.25 kB / 274.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001825/0.001842, allocations: 1.54 MB / 275.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006022/0.002444, allocations: 0.5155 MB / 276.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.002482, allocations: 0.625 kB / 276.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.864e-05/0.00257, allocations: 15.88 kB / 276.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.002628, allocations: 9.562 kB / 276.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.002759, allocations: 43.83 kB / 276.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.002826, allocations: 55.84 kB / 276.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.846e-05/0.002905, allocations: 12.61 kB / 276.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.003042, allocations: 44.45 kB / 276.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.00309, allocations: 23.92 kB / 276.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.003103, allocations: 4.656 kB / 276.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.003146, allocations: 19.92 kB / 276.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.003159, allocations: 10.47 kB / 276.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.00318, allocations: 27.84 kB / 276.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.003286, allocations: 55.81 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003288, allocations: 0 / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003289, allocations: 0 / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003293, allocations: 0 / 276.5 MB, free: 2.094 MB / 250.7 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.00036/0.003652, allocations: 404.4 kB / 276.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.003682, allocations: 8.031 kB / 276.9 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.003709, allocations: 12.89 kB / 276.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.658e-05/0.003775, allocations: 116.5 kB / 277 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003787, allocations: 4.375 kB / 277.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.003796, allocations: 8.375 kB / 277.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.003902, allocations: 70.92 kB / 277.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.003907, allocations: 192 / 277.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.003914, allocations: 384 / 277.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003919, allocations: 11.94 kB / 277.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.128e-05/0.00395, allocations: 11.98 kB / 277.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.004187, allocations: 280.2 kB / 277.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.004257, allocations: 43 kB / 277.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.004284, allocations: 19.67 kB / 277.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.004298, allocations: 7.969 kB / 277.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.004317, allocations: 33.39 kB / 277.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.004317, allocations: 0 / 277.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001192/0.004437, allocations: 57.77 kB / 277.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.004467, allocations: 55.41 kB / 277.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.004539, allocations: 177.8 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.004548, allocations: 25.7 kB / 277.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.004592, allocations: 138.8 kB / 278 MB, free: 480 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.004611, allocations: 19.84 kB / 278 MB, free: 460 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.004637, allocations: 19.38 kB / 278 MB, free: 432 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.004757, allocations: 0.4923 MB / 278.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.004772, allocations: 7.938 kB / 278.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.004787, allocations: 8 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.004818, allocations: 19.67 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00482, allocations: 0 / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.355e-05/0.004884, allocations: 61.64 kB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.004893, allocations: 4 kB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004897, allocations: 3.984 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.004905, allocations: 0 / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.004966, allocations: 16.38 kB / 278.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.004969, allocations: 0 / 278.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.004994, allocations: 11.94 kB / 278.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.005, allocations: 7.984 kB / 278.6 MB, free: 15.77 MB / 266.7 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 5.381e-05/0.005054, allocations: 156.6 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.005072, allocations: 11.92 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.005156, allocations: 69.8 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.005159, allocations: 4 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.00516, allocations: 0 / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005164, allocations: 3.984 kB / 278.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.005267, allocations: 117.1 kB / 279 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.005268, allocations: 3.984 kB / 279 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.005311, allocations: 19.94 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005312, allocations: 0 / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005317, allocations: 3.938 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005319, allocations: 7.922 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00532, allocations: 4 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.005458, allocations: 199.9 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.005465, allocations: 7.953 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.005476, allocations: 7.938 kB / 279.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.005515, allocations: 4 kB / 279.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.005542, allocations: 7.984 kB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.005546, allocations: 4 kB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.005579, allocations: 135.2 kB / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.005579, allocations: 0 / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.005716, allocations: 11.94 kB / 279.4 MB, free: 14.94 MB / 266.7 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 8.296e-05/0.005799, allocations: 99.25 kB / 279.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.005874, allocations: 35.67 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.51e-07/0.005875, allocations: 0 / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.005902, allocations: 27.61 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.006074, allocations: 8 kB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.006296, allocations: 170 kB / 279.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.006327, allocations: 59.22 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.143e-05/0.006348, allocations: 11.89 kB / 279.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.0064, allocations: 74.2 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006401, allocations: 0 / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.002483/0.008884, allocations: 1.094 MB / 281 MB, free: 13.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5230687372386456]