Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 88.34 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3391/0.3391, allocations: 32.79 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.813e-05, allocations: 2.312 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003826/0.003864, allocations: 2.048 MB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.006415, allocations: 1.262 MB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.00654, allocations: 4 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.625e-05/0.006617, allocations: 23.67 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.00677, allocations: 39.59 kB / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.007447, allocations: 211 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.007747, allocations: 180 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.00801, allocations: 76.14 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.008293, allocations: 115.6 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.008404, allocations: 63.72 kB / 379.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.008441, allocations: 16 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.008816, allocations: 159.7 kB / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.00887, allocations: 43.83 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.008972, allocations: 63.77 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.009571, allocations: 334.7 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.009576, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.009578, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.009584, allocations: 0 / 379.9 MB, free: 316 kB / 346.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.0008967/0.01048, allocations: 465.5 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.01053, allocations: 8.031 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.0119, allocations: 175.7 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.0123, allocations: 157.4 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.01234, allocations: 21.03 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.01239, allocations: 24.38 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.01288, allocations: 206.7 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.0129, allocations: 192 / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.01294, allocations: 8.375 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.01295, allocations: 11.94 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.01329, allocations: 142.5 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01437, allocations: 496.7 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.01497, allocations: 215.9 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.01511, allocations: 61.3 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.01514, allocations: 12.22 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.01518, allocations: 34.8 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.355e-06/0.01519, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005653/0.01575, allocations: 218.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.01584, allocations: 59.39 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.01596, allocations: 105.8 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.01599, allocations: 33.64 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.01613, allocations: 132.8 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.01624, allocations: 103.2 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.01633, allocations: 41.7 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.01655, allocations: 314.8 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.01666, allocations: 47.97 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01677, allocations: 43.97 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.017, allocations: 118.2 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.017, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000317/0.01732, allocations: 169.6 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01734, allocations: 13.81 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01735, allocations: 4 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.01738, allocations: 7.922 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.01776, allocations: 99.89 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01777, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.01785, allocations: 19.84 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.01787, allocations: 11.98 kB / 383.4 MB, free: 12.63 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.0001529/0.01802, allocations: 129.8 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.01807, allocations: 19.95 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.01813, allocations: 21.62 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.01814, allocations: 7.938 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.01814, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01815, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.01843, allocations: 181.2 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01844, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.01881, allocations: 112.1 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01881, allocations: 0 / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.01883, allocations: 8 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01883, allocations: 4 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.01883, allocations: 3.938 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.01923, allocations: 279.4 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.01925, allocations: 15.89 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01927, allocations: 0 / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.01936, allocations: 11.94 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.01943, allocations: 31.89 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01944, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.805e-05/0.01951, allocations: 83.28 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01951, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.01984, allocations: 63.78 kB / 384.3 MB, free: 11.62 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.0001505/0.01999, allocations: 91.25 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.0203, allocations: 128.3 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0203, allocations: 0 / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.02044, allocations: 83.84 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.02076, allocations: 8 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.02169, allocations: 433.1 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.02185, allocations: 116.8 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.02196, allocations: 25.41 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.02203, allocations: 20.48 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02203, allocations: 0 / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004629/0.02666, allocations: 0.9919 MB / 386.2 MB, free: 9.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.749552767956629]