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.002193/0.002193, allocations: 88.59 kB / 20.95 MB, free: 328 kB / 14.72 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.00211/0.00211, allocations: 153.8 kB / 24.25 MB, free: 3.27 MB / 14.72 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 1.519/1.519, allocations: 173.3 MB / 200.8 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 178] 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.844e-06/1.844e-06, allocations: 0 / 267.3 MB, free: 10.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.149e-05, allocations: 2.312 kB / 267.3 MB, free: 10.24 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003077/0.003109, allocations: 1.504 MB / 268.8 MB, free: 8.723 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.004164, allocations: 466.8 kB / 269.2 MB, free: 8.262 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.004232, allocations: 7.938 kB / 269.2 MB, free: 8.254 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.004364, allocations: 15.86 kB / 269.2 MB, free: 8.238 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.00445, allocations: 11.86 kB / 269.3 MB, free: 8.227 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.004677, allocations: 43.84 kB / 269.3 MB, free: 8.184 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.004802, allocations: 59.77 kB / 269.4 MB, free: 8.125 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.0049, allocations: 15.95 kB / 269.4 MB, free: 8.109 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.00507, allocations: 39.91 kB / 269.4 MB, free: 8.07 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.005142, allocations: 23.95 kB / 269.4 MB, free: 8.047 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.005168, allocations: 8 kB / 269.4 MB, free: 8.039 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.147e-05/0.005239, allocations: 15.94 kB / 269.5 MB, free: 8.023 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.005278, allocations: 15.92 kB / 269.5 MB, free: 8.008 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.005312, allocations: 19.92 kB / 269.5 MB, free: 7.988 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.005511, allocations: 67.78 kB / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.005515, allocations: 0 / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005516, allocations: 0 / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.005526, allocations: 4 kB / 269.6 MB, free: 7.918 MB / 254.1 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.000722/0.006248, allocations: 310.1 kB / 269.9 MB, free: 7.586 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.006294, allocations: 12.92 kB / 269.9 MB, free: 7.574 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.006341, allocations: 4.938 kB / 269.9 MB, free: 7.57 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.006502, allocations: 121.7 kB / 270 MB, free: 7.426 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.006522, allocations: 384 / 270 MB, free: 7.426 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.006543, allocations: 8.375 kB / 270 MB, free: 7.418 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.006851, allocations: 82.2 kB / 270.1 MB, free: 7.332 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.006861, allocations: 4.188 kB / 270.1 MB, free: 7.328 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.00688, allocations: 8.375 kB / 270.1 MB, free: 7.32 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006888, allocations: 3.938 kB / 270.1 MB, free: 7.316 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.007247, allocations: 75.92 kB / 270.2 MB, free: 7.242 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.007732, allocations: 244.4 kB / 270.4 MB, free: 6.973 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.008014, allocations: 74.47 kB / 270.5 MB, free: 6.891 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.008191, allocations: 49.03 kB / 270.5 MB, free: 6.84 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.008212, allocations: 3.938 kB / 270.5 MB, free: 6.836 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.008254, allocations: 34.56 kB / 270.6 MB, free: 6.793 MB / 254.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.008255, allocations: 0 / 270.6 MB, free: 6.793 MB / 254.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006435/0.008899, allocations: 157.5 kB / 270.7 MB, free: 6.633 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.008951, allocations: 51.41 kB / 270.8 MB, free: 6.57 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.009057, allocations: 113.8 kB / 270.9 MB, free: 6.449 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.009095, allocations: 25.7 kB / 270.9 MB, free: 6.418 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.009172, allocations: 92.14 kB / 271 MB, free: 6.324 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.009202, allocations: 15.8 kB / 271 MB, free: 6.309 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.009251, allocations: 21.7 kB / 271 MB, free: 6.281 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.009417, allocations: 322.7 kB / 271.4 MB, free: 5.957 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.00959, allocations: 43.95 kB / 271.4 MB, free: 5.914 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.009738, allocations: 31.97 kB / 271.4 MB, free: 5.883 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.01005, allocations: 80.78 kB / 271.5 MB, free: 5.801 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01005, allocations: 0 / 271.5 MB, free: 5.801 MB / 254.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003667/0.01042, allocations: 117.6 kB / 271.6 MB, free: 5.68 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.01043, allocations: 7.984 kB / 271.6 MB, free: 5.672 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01044, allocations: 0 / 271.6 MB, free: 5.672 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01046, allocations: 4 kB / 271.6 MB, free: 5.668 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.0106, allocations: 19.92 kB / 271.7 MB, free: 5.648 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01061, allocations: 0 / 271.7 MB, free: 5.648 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.0107, allocations: 19.94 kB / 271.7 MB, free: 5.629 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01071, allocations: 0 / 271.7 MB, free: 5.629 MB / 254.1 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 9.577e-05/0.01081, allocations: 117.8 kB / 271.8 MB, free: 5.504 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.01084, allocations: 8.375 kB / 271.8 MB, free: 5.496 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.01127, allocations: 125.7 kB / 271.9 MB, free: 5.363 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01127, allocations: 4 kB / 271.9 MB, free: 5.359 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01128, allocations: 3.984 kB / 271.9 MB, free: 5.355 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01128, allocations: 7.984 kB / 271.9 MB, free: 5.348 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01147, allocations: 129.3 kB / 272.1 MB, free: 5.191 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01147, allocations: 0 / 272.1 MB, free: 5.191 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.0116, allocations: 27.86 kB / 272.1 MB, free: 5.164 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.0116, allocations: 0 / 272.1 MB, free: 5.164 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.01161, allocations: 0 / 272.1 MB, free: 5.164 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.01162, allocations: 7.984 kB / 272.1 MB, free: 5.156 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01162, allocations: 0 / 272.1 MB, free: 5.156 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.01207, allocations: 211.5 kB / 272.3 MB, free: 4.934 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01209, allocations: 15.83 kB / 272.3 MB, free: 4.918 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.01211, allocations: 3.984 kB / 272.3 MB, free: 4.914 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01223, allocations: 11.98 kB / 272.3 MB, free: 4.902 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01228, allocations: 7.984 kB / 272.3 MB, free: 4.895 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01228, allocations: 4 kB / 272.4 MB, free: 4.891 MB / 254.1 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.01234, allocations: 83.28 kB / 272.4 MB, free: 4.809 MB / 254.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01234, allocations: 3.938 kB / 272.4 MB, free: 4.805 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.01258, allocations: 16 kB / 272.5 MB, free: 4.789 MB / 254.1 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 0.0001513/0.01273, allocations: 107.2 kB / 272.6 MB, free: 4.676 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.01313, allocations: 83.86 kB / 272.6 MB, free: 4.594 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01313, allocations: 0 / 272.6 MB, free: 4.594 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.01331, allocations: 51.89 kB / 272.7 MB, free: 4.543 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.01363, allocations: 12 kB / 272.7 MB, free: 4.531 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.01405, allocations: 168.3 kB / 272.9 MB, free: 4.34 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.01413, allocations: 79.09 kB / 272.9 MB, free: 4.242 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.01417, allocations: 8 kB / 273 MB, free: 4.234 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.01422, allocations: 12.5 kB / 273 MB, free: 4.219 MB / 254.1 MB Notification: Performance of SimCode: time 7.21e-07/0.01422, allocations: 0 / 273 MB, free: 4.219 MB / 254.1 MB Notification: Performance of Templates: time 0.00419/0.01841, allocations: 0.9722 MB / 273.9 MB, free: 3.258 MB / 254.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.214047372341156]