Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.00138/0.00138, allocations: 88.2 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001628/0.001628, allocations: 158.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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.512/1.512, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 34.26 MB / 294.8 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.621e-06/5.621e-06, allocations: 4 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.542e-05, allocations: 2.281 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003895/0.00393, allocations: 2.043 MB / 444.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.006576, allocations: 1.277 MB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.006707, allocations: 4 kB / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.006771, allocations: 19.73 kB / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.006923, allocations: 39.59 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.007569, allocations: 199 kB / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.007863, allocations: 184 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.008088, allocations: 76.14 kB / 446.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.008349, allocations: 127.6 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.008464, allocations: 63.72 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.008502, allocations: 16 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.008838, allocations: 147.7 kB / 446.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.008886, allocations: 43.81 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.008962, allocations: 67.77 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.009464, allocations: 334.7 kB / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.009469, allocations: 0 / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009471, allocations: 0 / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.009477, allocations: 4 kB / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007094/0.01019, allocations: 457.5 kB / 447.7 MB, free: 136 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.01023, allocations: 12.03 kB / 447.7 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/0.01119, allocations: 80.73 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2245/0.2357, allocations: 149.2 kB / 448 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2357, allocations: 21.5 kB / 448 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.2358, allocations: 24.81 kB / 448 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.2361, allocations: 199.4 kB / 448.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2362, allocations: 192 / 448.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2362, allocations: 13.53 kB / 448.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2362, allocations: 7.375 kB / 448.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.2365, allocations: 144.7 kB / 448.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.2372, allocations: 479 kB / 448.8 MB, free: 18.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.2377, allocations: 221.8 kB / 449.1 MB, free: 18.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2378, allocations: 65.31 kB / 449.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2378, allocations: 2.891 kB / 449.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.2378, allocations: 33.23 kB / 449.2 MB, free: 18.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.2378, allocations: 0 / 449.2 MB, free: 18.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004374/0.2383, allocations: 218.5 kB / 449.4 MB, free: 18.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2383, allocations: 56.62 kB / 449.4 MB, free: 18.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.2384, allocations: 106 kB / 449.5 MB, free: 18.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2384, allocations: 30.8 kB / 449.6 MB, free: 18.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2384, allocations: 140.2 kB / 449.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.2385, allocations: 99.53 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.2385, allocations: 39.05 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.2386, allocations: 325.3 kB / 450.1 MB, free: 17.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.2387, allocations: 44 kB / 450.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.467e-05/0.2387, allocations: 52.78 kB / 450.2 MB, free: 17.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2389, allocations: 111.4 kB / 450.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2389, allocations: 0 / 450.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002549/0.2392, allocations: 172 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2392, allocations: 6.375 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2392, allocations: 0 / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2392, allocations: 1.5 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.2396, allocations: 105.2 kB / 450.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2396, allocations: 1.766 kB / 450.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.2397, allocations: 16.52 kB / 450.6 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.2397, allocations: 10.3 kB / 450.7 MB, free: 17.66 MB / 366.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 (27): * Single equations (assignments): 27 * 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 7.416e-05/0.2398, allocations: 132.5 kB / 450.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.2398, allocations: 8.984 kB / 450.8 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.2398, allocations: 24.33 kB / 450.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2398, allocations: 5 kB / 450.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2398, allocations: 0 / 450.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2399, allocations: 4.859 kB / 450.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.24, allocations: 185.2 kB / 451 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.24, allocations: 0 / 451 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.2404, allocations: 105.6 kB / 451.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2404, allocations: 4.031 kB / 451.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2404, allocations: 5.766 kB / 451.1 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2404, allocations: 1.281 kB / 451.1 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2404, allocations: 0.75 kB / 451.1 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2407, allocations: 277.3 kB / 451.4 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.2407, allocations: 12.52 kB / 451.4 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2407, allocations: 6.406 kB / 451.4 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.2408, allocations: 10.3 kB / 451.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2408, allocations: 13.92 kB / 451.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2409, allocations: 5.406 kB / 451.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.397e-05/0.2409, allocations: 90.03 kB / 451.5 MB, free: 17.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2409, allocations: 1.281 kB / 451.5 MB, free: 17.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.2411, allocations: 51.59 kB / 451.6 MB, free: 17.03 MB / 366.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 (27): * Single equations (assignments): 27 * 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 8.287e-05/0.2412, allocations: 97.25 kB / 451.7 MB, free: 16.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.2415, allocations: 126.6 kB / 451.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2415, allocations: 1.25 kB / 451.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2416, allocations: 78.58 kB / 451.9 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.2418, allocations: 13.44 kB / 451.9 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.2425, allocations: 426 kB / 452.3 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.434e-05/0.2426, allocations: 122.6 kB / 452.4 MB, free: 16.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.719e-05/0.2427, allocations: 21.31 kB / 452.4 MB, free: 16.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.2427, allocations: 17.5 kB / 452.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2427, allocations: 0 / 452.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of Templates: time 0.003779/0.2465, allocations: 0.7631 MB / 453.2 MB, free: 16.42 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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: 5.180951867252588]