Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001876/0.001876, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00208/0.00208, allocations: 165.3 kB / 24.27 MB, free: 156 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4134/0.4134, allocations: 34.27 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.284e-05/4.523e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004887/0.004932, allocations: 2.064 MB / 379.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.008237, allocations: 1.355 MB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.008399, allocations: 4 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.567e-05/0.008475, allocations: 23.67 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.008668, allocations: 35.72 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.009345, allocations: 206.9 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.009674, allocations: 188 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.009953, allocations: 72.14 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.01026, allocations: 115.7 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.01039, allocations: 67.78 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.01043, allocations: 16 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.01077, allocations: 151.7 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.01083, allocations: 51.75 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.01092, allocations: 55.84 kB / 381.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.01152, allocations: 330.7 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.01153, allocations: 7.938 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01154, allocations: 0 / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.01155, allocations: 0 / 382 MB, free: 14.23 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.001039/0.01259, allocations: 0.5542 MB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.01265, allocations: 12.03 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.01378, allocations: 171.7 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.01413, allocations: 156.3 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.01417, allocations: 17.03 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.01422, allocations: 28.38 kB / 383 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.0151, allocations: 202.5 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01511, allocations: 4.188 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.01514, allocations: 8.375 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.01515, allocations: 11.94 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.0155, allocations: 142.5 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01671, allocations: 0.5663 MB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.01738, allocations: 224.4 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.01754, allocations: 68.11 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.01758, allocations: 4.234 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.01764, allocations: 41.56 kB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.01765, allocations: 0 / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005854/0.01823, allocations: 211.9 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.01829, allocations: 59.41 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.01847, allocations: 169.9 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.0185, allocations: 33.7 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.01868, allocations: 179.4 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.01878, allocations: 95.17 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.01887, allocations: 47.36 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/0.01922, allocations: 0.5001 MB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.01932, allocations: 35.98 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01942, allocations: 47.95 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.01966, allocations: 121 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/0.01966, allocations: 4 kB / 385.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003457/0.02, allocations: 173.5 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.02003, allocations: 8 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02004, allocations: 0 / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.02006, allocations: 3.938 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.02046, allocations: 99.89 kB / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.02047, allocations: 7.984 kB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.02055, allocations: 19.88 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.02056, allocations: 4 kB / 386 MB, free: 10.04 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.0001793/0.02074, allocations: 176.5 kB / 386.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.02079, allocations: 19.95 kB / 386.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.151e-05/0.02088, allocations: 21.62 kB / 386.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.02089, allocations: 7.938 kB / 386.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.0209, allocations: 256 / 386.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.02091, allocations: 7.922 kB / 386.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.02123, allocations: 204.5 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.02123, allocations: 7.984 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.0216, allocations: 95.89 kB / 386.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.0216, allocations: 0 / 386.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.02162, allocations: 4 kB / 386.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.02162, allocations: 4 kB / 386.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.02163, allocations: 3.938 kB / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.0221, allocations: 331.8 kB / 386.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.02212, allocations: 15.89 kB / 386.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.02214, allocations: 8 kB / 386.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.02223, allocations: 4 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.0223, allocations: 23.91 kB / 386.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.02231, allocations: 4 kB / 386.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.02241, allocations: 131.2 kB / 387 MB, free: 8.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02241, allocations: 0 / 387 MB, free: 8.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.02272, allocations: 59.84 kB / 387.1 MB, free: 8.867 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.0001992/0.02292, allocations: 95.19 kB / 387.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.02328, allocations: 144 kB / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02328, allocations: 0 / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.02345, allocations: 87.58 kB / 387.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.02378, allocations: 23.92 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.0248, allocations: 438.8 kB / 387.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.02497, allocations: 116.8 kB / 388 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.02508, allocations: 21.47 kB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.02514, allocations: 16.5 kB / 388 MB, free: 7.871 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02514, allocations: 0 / 388 MB, free: 7.871 MB / 362.7 MB Notification: Performance of Templates: time 0.005094/0.03023, allocations: 0.9906 MB / 389 MB, free: 6.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 5.566188396071084]