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.001563/0.001563, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001327/0.001327, allocations: 161 kB / 24.56 MB, free: 16 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 0.9907/0.9907, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.271/0.271, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.16e-05, allocations: 6.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00291/0.002941, allocations: 2.099 MB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.004918, allocations: 1.363 MB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.005055, allocations: 7.938 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.005109, allocations: 23.67 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.005229, allocations: 39.66 kB / 379.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.005788, allocations: 203 kB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.005989, allocations: 188 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.006199, allocations: 76.08 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.00644, allocations: 115.8 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.006534, allocations: 67.72 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.006562, allocations: 16 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.006843, allocations: 151.7 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.006876, allocations: 39.83 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.006933, allocations: 71.77 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.007438, allocations: 286.8 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.007442, allocations: 0 / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.007444, allocations: 0 / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.007451, allocations: 0 / 380.8 MB, free: 15.9 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.0005322/0.007983, allocations: 0.5467 MB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.008023, allocations: 8.031 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.008669, allocations: 175.7 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.008877, allocations: 156.2 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.008899, allocations: 25.03 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.008929, allocations: 24.38 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.009171, allocations: 179.4 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.009183, allocations: 192 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.0092, allocations: 12.38 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.009211, allocations: 11.94 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.009338, allocations: 99.78 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.00998, allocations: 0.5429 MB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.0103, allocations: 176.4 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.01038, allocations: 60.11 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.01042, allocations: 8.234 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.01044, allocations: 33.62 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.856e-06/0.01045, allocations: 0 / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006236/0.01107, allocations: 178.6 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.01111, allocations: 59.39 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.0112, allocations: 165.9 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.01122, allocations: 29.7 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.0113, allocations: 183.4 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.01136, allocations: 95.16 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.01144, allocations: 47.36 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.0116, allocations: 0.4962 MB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.01165, allocations: 27.98 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.0117, allocations: 31.92 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01183, allocations: 89.06 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01183, allocations: 0 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001962/0.01203, allocations: 153.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.01206, allocations: 8 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.01207, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.01209, allocations: 3.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.01235, allocations: 103.9 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.01236, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.0124, allocations: 15.89 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.01242, allocations: 8 kB / 384.5 MB, free: 11.98 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.0001158/0.01253, allocations: 160.6 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01257, allocations: 23.94 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.01262, allocations: 25.62 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.01263, allocations: 7.938 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.01263, allocations: 7.938 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01264, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.01284, allocations: 184.7 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01284, allocations: 4 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.01304, allocations: 99.94 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01304, allocations: 0 / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01306, allocations: 4 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.01306, allocations: 8 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01306, allocations: 3.938 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.01332, allocations: 303.7 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01333, allocations: 11.89 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01335, allocations: 4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.01341, allocations: 8 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.01346, allocations: 15.91 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.01348, allocations: 8 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.277e-05/0.01353, allocations: 127.2 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01353, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.01378, allocations: 63.84 kB / 385.5 MB, free: 10.88 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.0001223/0.0139, allocations: 99.19 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.0141, allocations: 112 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0141, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.01416, allocations: 75.53 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01442, allocations: 14.95 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.01505, allocations: 438.6 kB / 386.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.228e-05/0.0151, allocations: 79.83 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.01517, allocations: 17.47 kB / 386.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01521, allocations: 16.5 kB / 386.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01522, allocations: 8 kB / 386.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of Templates: time 0.003305/0.01852, allocations: 0.9851 MB / 387.3 MB, free: 8.996 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4412598949857056]