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.0009711/0.0009711, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001074/0.001074, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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 0.9416/0.9416, allocations: 177 MB / 205.2 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.2489/0.2489, allocations: 34.87 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] 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.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.453e-05, allocations: 2.312 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002359/0.002373, allocations: 2.088 MB / 380.8 MB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.0039, allocations: 1.367 MB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.003988, allocations: 4 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.004032, allocations: 23.67 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.004124, allocations: 39.59 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.004543, allocations: 207 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.004721, allocations: 180 kB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.004874, allocations: 76.14 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.005023, allocations: 111.7 kB / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.005085, allocations: 63.72 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.005106, allocations: 16 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.005295, allocations: 159.7 kB / 383.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.00532, allocations: 43.84 kB / 383.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.005366, allocations: 67.75 kB / 383.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.005646, allocations: 278.8 kB / 383.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005648, allocations: 0 / 383.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005649, allocations: 3.938 kB / 383.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.005653, allocations: 0 / 383.5 MB, free: 13.68 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.0003957/0.006048, allocations: 0.5506 MB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.006082, allocations: 8.031 kB / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.006668, allocations: 179.7 kB / 384.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.006819, allocations: 152.3 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.006835, allocations: 21.03 kB / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.006856, allocations: 28.36 kB / 384.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.007059, allocations: 179.3 kB / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.007067, allocations: 192 / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.007082, allocations: 16.36 kB / 384.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007091, allocations: 11.94 kB / 384.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.007219, allocations: 91.86 kB / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.007773, allocations: 0.5468 MB / 385.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.008066, allocations: 186.6 kB / 385.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.008129, allocations: 52.14 kB / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.008147, allocations: 8.172 kB / 385.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.008166, allocations: 41.61 kB / 385.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.292e-06/0.008167, allocations: 0 / 385.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002397/0.008407, allocations: 171.9 kB / 385.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.008433, allocations: 59.41 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.008499, allocations: 161.9 kB / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.008513, allocations: 29.7 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.008567, allocations: 183.4 kB / 386.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.008622, allocations: 95.17 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.008666, allocations: 39.38 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.008775, allocations: 0.5001 MB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.008817, allocations: 27.97 kB / 386.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.008857, allocations: 35.91 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.008959, allocations: 89.06 kB / 386.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00896, allocations: 0 / 386.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001463/0.009107, allocations: 145.6 kB / 387 MB, free: 9.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.009117, allocations: 8 kB / 387 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009121, allocations: 0 / 387 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.009132, allocations: 3.938 kB / 387 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.009334, allocations: 107.9 kB / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009339, allocations: 3.938 kB / 387.2 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.009371, allocations: 15.89 kB / 387.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.009379, allocations: 4 kB / 387.2 MB, free: 9.758 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 7.909e-05/0.009458, allocations: 168.5 kB / 387.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.009486, allocations: 19.95 kB / 387.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.009515, allocations: 21.62 kB / 387.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009519, allocations: 11.94 kB / 387.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009523, allocations: 3.984 kB / 387.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009526, allocations: 0 / 387.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.00967, allocations: 192.5 kB / 387.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.009671, allocations: 0 / 387.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.009962, allocations: 95.89 kB / 387.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009964, allocations: 0 / 387.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.009972, allocations: 8 kB / 387.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.009974, allocations: 4 kB / 387.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.009977, allocations: 7.922 kB / 387.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01016, allocations: 304.3 kB / 388 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.01017, allocations: 11.89 kB / 388 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.01018, allocations: 8 kB / 388 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.01023, allocations: 8 kB / 388 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.01026, allocations: 19.91 kB / 388 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.01027, allocations: 4 kB / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.57e-05/0.0103, allocations: 127.2 kB / 388.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 0 / 388.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.01049, allocations: 67.78 kB / 388.2 MB, free: 8.637 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 5.685e-05/0.01055, allocations: 95.25 kB / 388.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.01068, allocations: 107.8 kB / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01069, allocations: 0 / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.01075, allocations: 75.5 kB / 388.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.01093, allocations: 16 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.01141, allocations: 434.7 kB / 388.9 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.01146, allocations: 79.83 kB / 389 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.01152, allocations: 17.47 kB / 389 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.01156, allocations: 16.5 kB / 389.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01156, allocations: 4 kB / 389.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of Templates: time 0.002461/0.01402, allocations: 0.9927 MB / 390 MB, free: 6.762 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9296944411471486]