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.002523/0.002523, allocations: 103.5 kB / 20.97 MB, free: 3.445 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.002928/0.002928, allocations: 156.8 kB / 24.27 MB, free: 152 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.545/1.545, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.3332/0.3332, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 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 1.864e-06/1.864e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.669e-05, allocations: 3.859 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004162/0.004198, allocations: 2.063 MB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.007102, allocations: 1.351 MB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.007241, allocations: 8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.576e-05/0.007316, allocations: 27.66 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.007476, allocations: 35.66 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.008118, allocations: 203 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.008393, allocations: 188 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.008644, allocations: 76.14 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.008911, allocations: 115.6 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.009024, allocations: 59.78 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.009062, allocations: 20 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.009405, allocations: 151.7 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.009468, allocations: 51.75 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.009552, allocations: 63.81 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.01009, allocations: 330.6 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.413e-06/0.01009, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01009, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.0101, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 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.0008096/0.01091, allocations: 0.5464 MB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01095, allocations: 16.03 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.01195, allocations: 175.7 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.01222, allocations: 164.2 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.01225, allocations: 21.03 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.01229, allocations: 32.3 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.01268, allocations: 194.7 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.0127, allocations: 192 / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01272, allocations: 16.38 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.01273, allocations: 7.938 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.01302, allocations: 138.5 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01403, allocations: 0.5702 MB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.01463, allocations: 224.4 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.01477, allocations: 64.12 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.0148, allocations: 4.234 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.01484, allocations: 41.62 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.442e-06/0.01485, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.000592/0.01544, allocations: 219.8 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.0155, allocations: 55.34 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01563, allocations: 169.9 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.01566, allocations: 33.7 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01579, allocations: 183.4 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.01588, allocations: 95.17 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.01596, allocations: 51.36 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.01622, allocations: 0.4884 MB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.01633, allocations: 39.97 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.01642, allocations: 47.97 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.01663, allocations: 117.1 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01664, allocations: 0 / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003095/0.01695, allocations: 181.5 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.01696, allocations: 7.938 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01697, allocations: 0 / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.01699, allocations: 3.938 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.01738, allocations: 95.94 kB / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01739, allocations: 0 / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.01746, allocations: 19.89 kB / 385.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.01747, allocations: 8 kB / 385.9 MB, free: 9.938 MB / 362.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 (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 0.0001468/0.01762, allocations: 172.5 kB / 386.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.01767, allocations: 19.95 kB / 386.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.01775, allocations: 29.61 kB / 386.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.01776, allocations: 7.938 kB / 386.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01776, allocations: 3.938 kB / 386.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01777, allocations: 0 / 386.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.01805, allocations: 204.7 kB / 386.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01805, allocations: 0 / 386.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.01842, allocations: 111.9 kB / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01843, allocations: 0 / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.01845, allocations: 8 kB / 386.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01845, allocations: 0 / 386.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01845, allocations: 3.938 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.01885, allocations: 331.7 kB / 386.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01887, allocations: 11.89 kB / 386.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01889, allocations: 12 kB / 386.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.01898, allocations: 7.984 kB / 386.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.01903, allocations: 19.91 kB / 386.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01905, allocations: 8 kB / 386.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.01913, allocations: 123.2 kB / 387 MB, free: 8.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01913, allocations: 0 / 387 MB, free: 8.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.01943, allocations: 59.84 kB / 387 MB, free: 8.766 MB / 362.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 (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 0.0001299/0.01956, allocations: 95.25 kB / 387.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.01988, allocations: 140 kB / 387.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01988, allocations: 4 kB / 387.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.02003, allocations: 91.5 kB / 387.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.02033, allocations: 16 kB / 387.4 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.02123, allocations: 438.8 kB / 387.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.02137, allocations: 116.8 kB / 387.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.02147, allocations: 21.47 kB / 387.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.02152, allocations: 16.5 kB / 388 MB, free: 7.777 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02152, allocations: 0 / 388 MB, free: 7.777 MB / 362.7 MB Notification: Performance of Templates: time 0.004597/0.02612, allocations: 0.9942 MB / 389 MB, free: 6.793 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] 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: 4.929747639107518]