Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 100.2 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.119e-05, allocations: 2.312 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003287/0.003318, allocations: 1.514 MB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.004385, allocations: 0.5024 MB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.004432, allocations: 0 / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.004569, allocations: 27.8 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.714e-05/0.004646, allocations: 7.875 kB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.004841, allocations: 39.83 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.004958, allocations: 55.8 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005062, allocations: 15.98 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.005283, allocations: 43.89 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.005346, allocations: 19.97 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.005373, allocations: 8 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.005435, allocations: 16 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.005454, allocations: 11.92 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.005495, allocations: 19.98 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.005681, allocations: 83.58 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005684, allocations: 0 / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.005685, allocations: 4 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.00569, allocations: 0 / 274.5 MB, free: 15.47 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.0006928/0.006383, allocations: 302.1 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.006424, allocations: 15.98 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.006474, allocations: 8.891 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006606, allocations: 117.7 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006625, allocations: 4.375 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.006637, allocations: 384 / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.006922, allocations: 86.14 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.00693, allocations: 4.188 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.006946, allocations: 8.375 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.006954, allocations: 7.922 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.007284, allocations: 75.92 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.007731, allocations: 240.4 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.007999, allocations: 78.47 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.008171, allocations: 40.95 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.008188, allocations: 0 / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.008369, allocations: 34.56 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 7.32e-07/0.00837, allocations: 0 / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005915/0.008962, allocations: 157.8 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.009012, allocations: 51.41 kB / 275.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.009132, allocations: 113.8 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.009155, allocations: 25.7 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.00923, allocations: 100 kB / 276 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.009259, allocations: 11.91 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.009301, allocations: 13.72 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.009489, allocations: 322.8 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.009648, allocations: 40.03 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.009813, allocations: 39.95 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.01012, allocations: 80.72 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01012, allocations: 3.938 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003561/0.01048, allocations: 121.5 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01049, allocations: 4 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.0105, allocations: 0 / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01052, allocations: 4 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.01065, allocations: 19.97 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01066, allocations: 0 / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.01075, allocations: 15.98 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.01075, allocations: 4 kB / 276.6 MB, free: 13.19 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 0.0001123/0.01087, allocations: 117.8 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.0109, allocations: 7.938 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.01131, allocations: 129.7 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01131, allocations: 0 / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01132, allocations: 0 / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.01132, allocations: 4 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.01151, allocations: 137.2 kB / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01151, allocations: 0 / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.01165, allocations: 23.92 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01165, allocations: 0 / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.01166, allocations: 0 / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01166, allocations: 4.188 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01166, allocations: 0 / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.01212, allocations: 227.4 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.01213, allocations: 7.891 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01215, allocations: 4 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01226, allocations: 11.98 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.01231, allocations: 7.984 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01232, allocations: 0 / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.382e-05/0.01238, allocations: 91.27 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01238, allocations: 0 / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01261, allocations: 12 kB / 277.4 MB, free: 12.36 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 0.0001588/0.01277, allocations: 103.2 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.01315, allocations: 87.84 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01315, allocations: 0 / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01332, allocations: 47.95 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01365, allocations: 11.94 kB / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.01409, allocations: 172.5 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.888e-05/0.01417, allocations: 71.33 kB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.01421, allocations: 4.25 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.01425, allocations: 16.5 kB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01425, allocations: 4 kB / 277.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.004032/0.01828, allocations: 0.9641 MB / 278.9 MB, free: 10.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.349298782995902]