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.0009272/0.0009272, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009538/0.0009538, allocations: 169.2 kB / 24.91 MB, free: 9.184 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.8629/0.8629, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.876e-06/1.018e-05, allocations: 2.312 kB / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001629/0.00164, allocations: 1.555 MB / 275 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006016/0.002241, allocations: 0.5256 MB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.002275, allocations: 4 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.971e-05/0.002355, allocations: 27.84 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.00241, allocations: 3.938 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.00254, allocations: 35.84 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.002619, allocations: 59.84 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.002701, allocations: 11.98 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.002886, allocations: 47.83 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.002935, allocations: 19.91 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.002948, allocations: 8 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.002992, allocations: 19.94 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.003006, allocations: 11.98 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.003026, allocations: 23.92 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.00314, allocations: 63.73 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003142, allocations: 0 / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003143, allocations: 0 / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.003145, allocations: 0 / 275.8 MB, free: 14.92 MB / 266.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.0003119/0.003457, allocations: 272.8 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.003485, allocations: 8.031 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.003508, allocations: 8.938 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.11e-05/0.003569, allocations: 113.7 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.00358, allocations: 8.375 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.00359, allocations: 4.375 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.003688, allocations: 74.86 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.003693, allocations: 192 / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003701, allocations: 8.359 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.003706, allocations: 7.938 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.003734, allocations: 11.94 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.003963, allocations: 180.2 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.004035, allocations: 42.55 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.004052, allocations: 12.86 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.004064, allocations: 4 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.004081, allocations: 34.5 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.004082, allocations: 0 / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 9.906e-05/0.004181, allocations: 53.84 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.004205, allocations: 55.41 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.004249, allocations: 110.7 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.004258, allocations: 25.7 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.004288, allocations: 92.06 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.004306, allocations: 23.84 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.004329, allocations: 13.72 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.004393, allocations: 322.8 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.004404, allocations: 4 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.004416, allocations: 8 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.004446, allocations: 24.78 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004447, allocations: 0 / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.731e-05/0.004494, allocations: 49.62 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.004503, allocations: 7.984 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.004507, allocations: 3.984 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.004518, allocations: 3.984 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.004577, allocations: 12 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.004579, allocations: 4 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.004601, allocations: 7.984 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.004607, allocations: 4 kB / 277.4 MB, free: 13.18 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 4.107e-05/0.004648, allocations: 109.8 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.004662, allocations: 11.92 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.004732, allocations: 65.67 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.004733, allocations: 0 / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004735, allocations: 448 / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.004737, allocations: 0 / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.004819, allocations: 81.88 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.004821, allocations: 8 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.004856, allocations: 23.92 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.004857, allocations: 0 / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.004861, allocations: 0 / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.004863, allocations: 3.938 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.004863, allocations: 0 / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.713e-05/0.00494, allocations: 155.5 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.004948, allocations: 7.953 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.004956, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.004993, allocations: 11.92 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.005016, allocations: 12 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.00502, allocations: 3.984 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.134e-05/0.005031, allocations: 13.23 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005031, allocations: 0 / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001137/0.005145, allocations: 8 kB / 277.9 MB, free: 12.62 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 7.559e-05/0.005221, allocations: 84.41 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.00528, allocations: 28.78 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.005281, allocations: 8 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.005302, allocations: 16.84 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.005416, allocations: 12.28 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.00562, allocations: 164.1 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.005648, allocations: 63.34 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.614e-05/0.005664, allocations: 0 / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.00571, allocations: 59.38 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.005711, allocations: 0 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Templates: time 0.002127/0.007837, allocations: 0.9554 MB / 279.3 MB, free: 11.19 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.3483251319266856]