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.001013/0.001013, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00112/0.00112, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.996/0.996, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.263e-05, allocations: 5.266 kB / 273.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002258/0.002281, allocations: 1.554 MB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.003063, allocations: 0.5063 MB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.003111, allocations: 4 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.828e-05/0.00321, allocations: 23.86 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.003282, allocations: 7.875 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.003426, allocations: 35.84 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.003504, allocations: 63.77 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.003602, allocations: 15.98 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.003791, allocations: 39.95 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.003842, allocations: 19.91 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.003859, allocations: 8 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.003913, allocations: 23.88 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.003927, allocations: 11.94 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.00395, allocations: 19.98 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004087, allocations: 55.8 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004089, allocations: 4 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00409, allocations: 3.938 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004093, allocations: 0 / 275.7 MB, free: 14.95 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.000464/0.004557, allocations: 392.4 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.004599, allocations: 12.03 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.004633, allocations: 12.89 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.893e-05/0.004722, allocations: 128.5 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.004736, allocations: 4.375 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.004744, allocations: 384 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.004885, allocations: 70.94 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.00489, allocations: 192 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.004899, allocations: 4.375 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004905, allocations: 3.938 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/0.004938, allocations: 19.92 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.005228, allocations: 272.3 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.005305, allocations: 55.06 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.005325, allocations: 11.69 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.005343, allocations: 12.06 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.005362, allocations: 33.39 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.005363, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001538/0.005517, allocations: 57.64 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.005547, allocations: 51.41 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.005642, allocations: 173.8 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005655, allocations: 25.7 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.005711, allocations: 142.8 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.005735, allocations: 15.89 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.005766, allocations: 27.38 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.00589, allocations: 0.4884 MB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.005903, allocations: 0 / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.005916, allocations: 4 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.005956, allocations: 31.66 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005958, allocations: 0 / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.853e-05/0.006036, allocations: 57.58 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.00605, allocations: 8 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006056, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.006069, allocations: 3.938 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.006143, allocations: 19.92 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.006147, allocations: 4.438 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.006171, allocations: 4 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.006179, allocations: 7.984 kB / 277.9 MB, free: 12.63 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 7.254e-05/0.006252, allocations: 152.6 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.006266, allocations: 7.938 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.006386, allocations: 73.75 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.006388, allocations: 3.984 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.00639, allocations: 0 / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.006395, allocations: 4 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.006503, allocations: 117.2 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.006505, allocations: 3.938 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.006549, allocations: 12 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.006555, allocations: 7.984 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.006565, allocations: 7.938 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006566, allocations: 0 / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.006567, allocations: 0 / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.006678, allocations: 207.9 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.006686, allocations: 4 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.006697, allocations: 3.938 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.006737, allocations: 15.98 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.006774, allocations: 7.984 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.006777, allocations: 0 / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.006812, allocations: 131.4 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006812, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.006955, allocations: 16 kB / 278.6 MB, free: 11.8 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 9.827e-05/0.007053, allocations: 103.2 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.068e-05/0.007124, allocations: 35.67 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007125, allocations: 0 / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.007151, allocations: 27.62 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.007325, allocations: 10.33 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.007551, allocations: 165.9 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.007582, allocations: 59.36 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.106e-05/0.007603, allocations: 7.984 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.007655, allocations: 74.2 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.007656, allocations: 3.938 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of Templates: time 0.002478/0.01013, allocations: 1.078 MB / 280.2 MB, free: 10.2 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.685962043236941]