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.0008944/0.0008944, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009248/0.0009248, allocations: 147.1 kB / 24.9 MB, free: 8.77 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.8866/0.8866, allocations: 173.4 MB / 201.5 MB, free: 8.246 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.485e-06/2.485e-06, allocations: 4 kB / 268.4 MB, free: 9.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.513e-05, allocations: 5.266 kB / 268.4 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003342/0.003368, allocations: 1.542 MB / 270 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.004033, allocations: 494.5 kB / 270.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.004074, allocations: 1.344 kB / 270.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.86e-05/0.004163, allocations: 15.92 kB / 270.5 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.004224, allocations: 7.875 kB / 270.5 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.00437, allocations: 44.58 kB / 270.5 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.004438, allocations: 55.84 kB / 270.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.00451, allocations: 16.52 kB / 270.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.004621, allocations: 41.81 kB / 270.6 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.004669, allocations: 27.91 kB / 270.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004684, allocations: 8 kB / 270.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.004732, allocations: 15.98 kB / 270.7 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.004749, allocations: 11.92 kB / 270.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.004769, allocations: 16.81 kB / 270.7 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.004888, allocations: 55.8 kB / 270.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004892, allocations: 1.344 kB / 270.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004893, allocations: 0 / 270.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004897, allocations: 0 / 270.8 MB, free: 7.527 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.0004246/0.005322, allocations: 277.7 kB / 271 MB, free: 7.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.005351, allocations: 12.03 kB / 271 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.005377, allocations: 4.938 kB / 271 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.845e-05/0.005445, allocations: 118.5 kB / 271.2 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.00546, allocations: 12.31 kB / 271.2 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.005469, allocations: 5.062 kB / 271.2 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.005584, allocations: 78.92 kB / 271.3 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.00559, allocations: 192 / 271.3 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.005597, allocations: 384 / 271.3 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.005601, allocations: 3.938 kB / 271.3 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.247e-05/0.005634, allocations: 19.92 kB / 271.3 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.005861, allocations: 180.2 kB / 271.5 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.005934, allocations: 38.59 kB / 271.5 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.005951, allocations: 8.859 kB / 271.5 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.005963, allocations: 0 / 271.5 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.005987, allocations: 50.61 kB / 271.6 MB, free: 6.645 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.005988, allocations: 0 / 271.6 MB, free: 6.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001056/0.006094, allocations: 45.69 kB / 271.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.006121, allocations: 55.34 kB / 271.7 MB, free: 6.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.006173, allocations: 118.6 kB / 271.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.006183, allocations: 29.7 kB / 271.8 MB, free: 6.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.006217, allocations: 96.06 kB / 271.9 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.006235, allocations: 11.84 kB / 271.9 MB, free: 6.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.006261, allocations: 17.72 kB / 271.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.006328, allocations: 322.8 kB / 272.2 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.006341, allocations: 4 kB / 272.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.006352, allocations: 8 kB / 272.2 MB, free: 5.895 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.006382, allocations: 20.84 kB / 272.3 MB, free: 5.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006384, allocations: 0 / 272.3 MB, free: 5.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.207e-05/0.006436, allocations: 49.56 kB / 272.3 MB, free: 5.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.006446, allocations: 10.34 kB / 272.3 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.00645, allocations: 3.984 kB / 272.3 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.006459, allocations: 0 / 272.3 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.006529, allocations: 16 kB / 272.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.006531, allocations: 0 / 272.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.006557, allocations: 8.422 kB / 272.4 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.006561, allocations: 4 kB / 272.4 MB, free: 5.777 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 4.995e-05/0.006611, allocations: 109.8 kB / 272.5 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.006626, allocations: 3.938 kB / 272.5 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.006834, allocations: 81.59 kB / 272.5 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.006837, allocations: 4 kB / 272.6 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.006839, allocations: 4 kB / 272.6 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006841, allocations: 0 / 272.6 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.006934, allocations: 77.88 kB / 272.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006935, allocations: 0 / 272.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.00698, allocations: 15.98 kB / 272.6 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006982, allocations: 4 kB / 272.7 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.006989, allocations: 4 kB / 272.7 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.006991, allocations: 3.938 kB / 272.7 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006992, allocations: 0 / 272.7 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.746e-05/0.00707, allocations: 147.5 kB / 272.8 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.007077, allocations: 11.89 kB / 272.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.007085, allocations: 0 / 272.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.007123, allocations: 7.938 kB / 272.8 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.007151, allocations: 11.98 kB / 272.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.007154, allocations: 0 / 272.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.358e-05/0.007168, allocations: 20.83 kB / 272.9 MB, free: 5.223 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007168, allocations: 0 / 272.9 MB, free: 5.223 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.00729, allocations: 15.94 kB / 272.9 MB, free: 5.207 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.535e-05/0.007385, allocations: 80.42 kB / 273 MB, free: 5.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.007451, allocations: 24.84 kB / 273 MB, free: 5.094 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.007454, allocations: 0 / 273 MB, free: 5.094 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.007477, allocations: 24.94 kB / 273 MB, free: 5.066 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.007611, allocations: 20.12 kB / 273 MB, free: 5.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.007848, allocations: 160.3 kB / 273.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.007884, allocations: 59.34 kB / 273.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.125e-05/0.007906, allocations: 4 kB / 273.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.007958, allocations: 59.38 kB / 273.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007959, allocations: 0 / 273.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of Templates: time 0.002346/0.0103, allocations: 0.9484 MB / 274.2 MB, free: 3.789 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.423124548047781]