Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 68.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008748/0.0008748, allocations: 144 kB / 24.97 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9511/0.9511, allocations: 173.4 MB / 201.5 MB, free: 8.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 268 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.885e-05, allocations: 2.312 kB / 268 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002628/0.002656, allocations: 1.541 MB / 269.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.003276, allocations: 484.4 kB / 270 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.003314, allocations: 0.8125 kB / 270 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.715e-05/0.003411, allocations: 23.8 kB / 270.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.003474, allocations: 9.016 kB / 270.1 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.003628, allocations: 43.78 kB / 270.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.003705, allocations: 51.86 kB / 270.2 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.003794, allocations: 19.03 kB / 270.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.003904, allocations: 35.91 kB / 270.2 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.003955, allocations: 27.95 kB / 270.2 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003969, allocations: 4 kB / 270.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.705e-05/0.004016, allocations: 15.94 kB / 270.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.004034, allocations: 15.98 kB / 270.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.004059, allocations: 11.94 kB / 270.3 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.004188, allocations: 60.72 kB / 270.3 MB, free: 8.102 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004191, allocations: 0 / 270.3 MB, free: 8.102 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004192, allocations: 3.984 kB / 270.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004196, allocations: 0.9688 kB / 270.4 MB, free: 8.098 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.0004053/0.004601, allocations: 402.1 kB / 270.7 MB, free: 7.672 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004635, allocations: 8.031 kB / 270.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.004673, allocations: 4.938 kB / 270.8 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.004754, allocations: 128.4 kB / 270.9 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.004768, allocations: 8.312 kB / 270.9 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.004781, allocations: 9.031 kB / 270.9 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.004933, allocations: 75.61 kB / 271 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.004939, allocations: 192 / 271 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004948, allocations: 2.344 kB / 271 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.004956, allocations: 3.938 kB / 271 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.005005, allocations: 19.98 kB / 271 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.005307, allocations: 287.7 kB / 271.3 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.005396, allocations: 51.48 kB / 271.3 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.005426, allocations: 19.81 kB / 271.4 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005439, allocations: 4 kB / 271.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.005457, allocations: 41.41 kB / 271.4 MB, free: 6.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.005458, allocations: 0 / 271.4 MB, free: 6.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001518/0.00561, allocations: 69.58 kB / 271.5 MB, free: 6.855 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.005636, allocations: 51.41 kB / 271.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.005704, allocations: 165.9 kB / 271.7 MB, free: 6.613 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.005714, allocations: 25.7 kB / 271.7 MB, free: 6.582 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.005755, allocations: 134.9 kB / 271.8 MB, free: 6.445 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.005777, allocations: 27.78 kB / 271.9 MB, free: 6.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.005804, allocations: 23.38 kB / 271.9 MB, free: 6.387 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.005907, allocations: 496.1 kB / 272.4 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.005927, allocations: 7.984 kB / 272.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.005944, allocations: 11.94 kB / 272.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.005984, allocations: 28.06 kB / 272.4 MB, free: 5.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005986, allocations: 0 / 272.4 MB, free: 5.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.894e-05/0.006055, allocations: 61.62 kB / 272.5 MB, free: 5.773 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.006068, allocations: 4 kB / 272.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006072, allocations: 0 / 272.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006084, allocations: 4 kB / 272.5 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.006152, allocations: 11.98 kB / 272.5 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006157, allocations: 7.938 kB / 272.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.006183, allocations: 11.94 kB / 272.5 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.006187, allocations: 4 kB / 272.5 MB, free: 5.73 MB / 250.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.444e-05/0.006242, allocations: 152.6 kB / 272.7 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.00626, allocations: 11.94 kB / 272.7 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.006365, allocations: 69.78 kB / 272.7 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.006367, allocations: 4 kB / 272.8 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.00637, allocations: 0 / 272.8 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006373, allocations: 0 / 272.8 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.932e-05/0.006473, allocations: 136.6 kB / 272.9 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006473, allocations: 4 kB / 272.9 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.006515, allocations: 23.86 kB / 272.9 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006518, allocations: 3.984 kB / 272.9 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.006525, allocations: 4 kB / 272.9 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006527, allocations: 4 kB / 272.9 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006528, allocations: 0 / 272.9 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.006633, allocations: 203.9 kB / 273.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.006641, allocations: 15.83 kB / 273.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.006651, allocations: 0 / 273.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.006688, allocations: 11.92 kB / 273.1 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.006725, allocations: 15.98 kB / 273.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006728, allocations: 0 / 273.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.006763, allocations: 131.2 kB / 273.3 MB, free: 4.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006763, allocations: 0 / 273.3 MB, free: 4.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.006902, allocations: 8 kB / 273.3 MB, free: 4.871 MB / 250.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.273e-05/0.006995, allocations: 107.2 kB / 273.4 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.007091, allocations: 39.73 kB / 273.4 MB, free: 4.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007092, allocations: 4 kB / 273.4 MB, free: 4.711 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.007123, allocations: 27.62 kB / 273.5 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.007292, allocations: 7.984 kB / 273.5 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.007555, allocations: 170.2 kB / 273.6 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.007586, allocations: 57.89 kB / 273.7 MB, free: 4.402 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.026e-05/0.007606, allocations: 3.984 kB / 273.7 MB, free: 4.398 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.007635, allocations: 20.5 kB / 273.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007635, allocations: 0 / 273.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of Templates: time 0.002398/0.01003, allocations: 0.9679 MB / 274.7 MB, free: 3.426 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7092110170051455]