Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008158/0.0008158, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007923/0.0007923, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8084/0.8084, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.38 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.859e-05, allocations: 2.281 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002269/0.002287, allocations: 2.029 MB / 410.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003576, allocations: 1.212 MB / 411.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.003652, allocations: 8 kB / 411.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.003702, allocations: 19.73 kB / 411.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.003803, allocations: 39.64 kB / 411.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.004163, allocations: 187.1 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004313, allocations: 184 kB / 411.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.004491, allocations: 76.14 kB / 411.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004628, allocations: 107.7 kB / 412 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.0047, allocations: 63.78 kB / 412 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.004721, allocations: 16 kB / 412 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.004896, allocations: 159.6 kB / 412.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.00493, allocations: 39.78 kB / 412.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.004973, allocations: 63.81 kB / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.005251, allocations: 326.8 kB / 412.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.005253, allocations: 0 / 412.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005253, allocations: 0 / 412.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005258, allocations: 0 / 412.6 MB, free: 13.2 MB / 394.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.0004553/0.005713, allocations: 457.5 kB / 413.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.005751, allocations: 16.03 kB / 413.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.00618, allocations: 64.75 kB / 413.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.00628, allocations: 137.4 kB / 413.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.006299, allocations: 17.03 kB / 413.3 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.006323, allocations: 28.38 kB / 413.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.006567, allocations: 198.7 kB / 413.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006577, allocations: 192 / 413.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.006595, allocations: 16.38 kB / 413.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.006603, allocations: 7.938 kB / 413.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.006778, allocations: 142.5 kB / 413.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.00731, allocations: 488.8 kB / 414.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.007633, allocations: 216.5 kB / 414.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.007711, allocations: 65.28 kB / 414.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.00773, allocations: 4.234 kB / 414.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.007748, allocations: 39.25 kB / 414.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.007749, allocations: 0 / 414.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002984/0.008047, allocations: 213.5 kB / 414.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.008078, allocations: 63.34 kB / 414.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.008137, allocations: 101.8 kB / 414.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.008155, allocations: 37.64 kB / 414.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.008204, allocations: 132.8 kB / 415 MB, free: 10.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.008252, allocations: 91.17 kB / 415.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.008294, allocations: 41.7 kB / 415.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.008371, allocations: 322.8 kB / 415.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.008428, allocations: 43.97 kB / 415.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.008478, allocations: 43.97 kB / 415.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.008601, allocations: 126.2 kB / 415.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008603, allocations: 0 / 415.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001604/0.008763, allocations: 161.5 kB / 415.8 MB, free: 9.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.008775, allocations: 8 kB / 415.8 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00878, allocations: 3.938 kB / 415.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.008791, allocations: 3.938 kB / 415.8 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.008974, allocations: 103.9 kB / 415.9 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.00898, allocations: 0 / 415.9 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.00901, allocations: 15.89 kB / 416 MB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.009018, allocations: 4 kB / 416 MB, free: 9.688 MB / 394.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.338e-05/0.009091, allocations: 133.7 kB / 416.1 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.00911, allocations: 15.94 kB / 416.1 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.009138, allocations: 21.31 kB / 416.1 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.009142, allocations: 7.938 kB / 416.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.009147, allocations: 0 / 416.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.00915, allocations: 0 / 416.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.009292, allocations: 185.2 kB / 416.3 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009293, allocations: 0 / 416.3 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.009456, allocations: 103.8 kB / 416.4 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.009457, allocations: 0 / 416.4 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.009467, allocations: 8 kB / 416.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009469, allocations: 0 / 416.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.00947, allocations: 3.938 kB / 416.4 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.009662, allocations: 275.4 kB / 416.7 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.009672, allocations: 12.14 kB / 416.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.009684, allocations: 4 kB / 416.7 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.009726, allocations: 15.94 kB / 416.7 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.00976, allocations: 19.89 kB / 416.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.00977, allocations: 12 kB / 416.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.009798, allocations: 87.2 kB / 416.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009798, allocations: 0 / 416.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.009961, allocations: 55.78 kB / 416.9 MB, free: 8.688 MB / 394.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 6.961e-05/0.01003, allocations: 95.25 kB / 417 MB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01019, allocations: 132.3 kB / 417.1 MB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01019, allocations: 0 / 417.1 MB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.01026, allocations: 71.84 kB / 417.2 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01042, allocations: 12 kB / 417.2 MB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.01093, allocations: 447.8 kB / 417.6 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.011, allocations: 120.8 kB / 417.8 MB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.01105, allocations: 24.5 kB / 417.8 MB, free: 7.738 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01105, allocations: 0 / 417.8 MB, free: 7.738 MB / 394.7 MB Notification: Performance of Templates: time 0.002127/0.01317, allocations: 1.818 MB / 419.6 MB, free: 5.918 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.489814494736493]