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.001103/0.001103, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001699/0.002802, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001002/0.001002, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002538, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.7884/0.7884, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1364/0.9248, allocations: 52.48 MB / 238.5 MB, free: 7.66 MB / 234.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 1.182e-06/1.182e-06, allocations: 0 / 239.7 MB, free: 6.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.173e-05, allocations: 6.484 kB / 239.7 MB, free: 6.426 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001564/0.001575, allocations: 1.592 MB / 241.3 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.002017, allocations: 495.7 kB / 241.8 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.002046, allocations: 0 / 241.8 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.741e-05/0.002103, allocations: 23.84 kB / 241.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.002131, allocations: 5 kB / 241.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.181e-05/0.002223, allocations: 43.83 kB / 241.9 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.002289, allocations: 51.86 kB / 241.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.002358, allocations: 14.98 kB / 241.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.002458, allocations: 51.77 kB / 242 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.002507, allocations: 23.91 kB / 242 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.002521, allocations: 8 kB / 242 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.875e-05/0.00257, allocations: 16 kB / 242 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.002584, allocations: 11.94 kB / 242 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.002599, allocations: 8 kB / 242 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.002704, allocations: 52.62 kB / 242.1 MB, free: 4.051 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.002712, allocations: 3.938 kB / 242.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002713, allocations: 1.219 kB / 242.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.002721, allocations: 3.938 kB / 242.1 MB, free: 4.043 MB / 234.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.0003898/0.00311, allocations: 366.5 kB / 242.5 MB, free: 3.645 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.003136, allocations: 8.031 kB / 242.5 MB, free: 3.637 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.003161, allocations: 8.922 kB / 242.5 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.634e-05/0.003227, allocations: 110.7 kB / 242.6 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003239, allocations: 4.375 kB / 242.6 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.00325, allocations: 10.16 kB / 242.6 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.003353, allocations: 78.8 kB / 242.7 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.003357, allocations: 192 / 242.7 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.003364, allocations: 4.375 kB / 242.7 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003369, allocations: 3.938 kB / 242.7 MB, free: 3.391 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.003396, allocations: 12.64 kB / 242.7 MB, free: 3.379 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.003596, allocations: 184.8 kB / 242.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.00366, allocations: 40.53 kB / 242.9 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.003677, allocations: 12.98 kB / 242.9 MB, free: 3.121 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.00369, allocations: 4 kB / 242.9 MB, free: 3.117 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.003707, allocations: 38.5 kB / 243 MB, free: 3.07 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.003708, allocations: 0 / 243 MB, free: 3.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.000103/0.003811, allocations: 55.17 kB / 243 MB, free: 3.012 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.003832, allocations: 55.41 kB / 243.1 MB, free: 2.945 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.003878, allocations: 114.7 kB / 243.2 MB, free: 2.816 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.00389, allocations: 25.7 kB / 243.2 MB, free: 2.785 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.003915, allocations: 88.72 kB / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.003934, allocations: 23.81 kB / 243.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.003957, allocations: 18.31 kB / 243.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.004088, allocations: 319.4 kB / 243.7 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.004102, allocations: 7.984 kB / 243.7 MB, free: 2.32 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.004112, allocations: 5.688 kB / 243.7 MB, free: 2.316 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.004141, allocations: 20.84 kB / 243.7 MB, free: 2.293 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004142, allocations: 0 / 243.7 MB, free: 2.293 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.074e-05/0.004193, allocations: 57.56 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.004202, allocations: 5.156 kB / 243.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.004205, allocations: 3.938 kB / 243.8 MB, free: 2.223 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.004215, allocations: 0 / 243.8 MB, free: 2.223 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.004279, allocations: 16.98 kB / 243.8 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004281, allocations: 0 / 243.8 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.004304, allocations: 12.98 kB / 243.8 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-06/0.004308, allocations: 0 / 243.8 MB, free: 2.195 MB / 234.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.105e-05/0.004349, allocations: 106.6 kB / 243.9 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.004363, allocations: 11.94 kB / 243.9 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.004436, allocations: 62.42 kB / 244 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004438, allocations: 3.984 kB / 244 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.004439, allocations: 0.7188 kB / 244 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004442, allocations: 0 / 244 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.206e-05/0.004524, allocations: 86.92 kB / 244 MB, free: 1.895 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.004525, allocations: 0 / 244 MB, free: 1.895 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.004564, allocations: 18.52 kB / 244.1 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.00457, allocations: 8 kB / 244.1 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.004573, allocations: 7.922 kB / 244.1 MB, free: 1.863 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.004578, allocations: 4 kB / 244.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004579, allocations: 0 / 244.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00458, allocations: 0 / 244.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.523e-05/0.004655, allocations: 156.4 kB / 244.2 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.004663, allocations: 0 / 244.2 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.004701, allocations: 11.94 kB / 244.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.004725, allocations: 8.484 kB / 244.3 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.004727, allocations: 0.8125 kB / 244.3 MB, free: 1.672 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.358e-05/0.004741, allocations: 12.84 kB / 244.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004741, allocations: 5.656 kB / 244.3 MB, free: 1.652 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001136/0.004855, allocations: 15.95 kB / 244.3 MB, free: 1.637 MB / 234.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.985e-05/0.004934, allocations: 88.34 kB / 244.4 MB, free: 1.543 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.003e-05/0.004994, allocations: 28.78 kB / 244.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.005, allocations: 11.94 kB / 244.4 MB, free: 1.5 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.005028, allocations: 20.86 kB / 244.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.005169, allocations: 71.33 kB / 244.5 MB, free: 1.395 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.00553, allocations: 168.2 kB / 244.7 MB, free: 1.203 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.783e-05/0.005558, allocations: 63.34 kB / 244.7 MB, free: 1.121 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.005577, allocations: 4 kB / 244.7 MB, free: 1.117 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.005628, allocations: 59.36 kB / 244.8 MB, free: 1.059 MB / 234.7 MB Notification: Performance of SimCode: time 3.6e-07/0.005628, allocations: 0 / 244.8 MB, free: 1.059 MB / 234.7 MB Notification: Performance of Templates: time 0.002029/0.007657, allocations: 0.9647 MB / 245.8 MB, free: 116 kB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1873471960425377]