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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 79.28 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09569, allocations: 62.44 MB / 481.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003068/0.0988, allocations: 2.107 MB / 483.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1007, allocations: 1.39 MB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.1008, allocations: 4 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.907e-05/0.1009, allocations: 19.73 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.101, allocations: 35.66 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.1014, allocations: 199.2 kB / 485.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1016, allocations: 180.1 kB / 485.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1019, allocations: 103.6 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.102, allocations: 75.66 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.1021, allocations: 99.48 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1021, allocations: 16 kB / 485.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.1024, allocations: 151.9 kB / 485.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.1025, allocations: 39.84 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1025, allocations: 95.41 kB / 485.9 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.1029, allocations: 322.8 kB / 486.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1029, allocations: 0 / 486.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1029, allocations: 0 / 486.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1029, allocations: 0 / 486.3 MB, free: 15.72 MB / 366.1 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.0005275/0.1035, allocations: 0.5266 MB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1035, allocations: 8.031 kB / 486.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.1044, allocations: 76.59 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1046, allocations: 208 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1046, allocations: 24.94 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1047, allocations: 28.38 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.105, allocations: 201.2 kB / 487.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.105, allocations: 4 kB / 487.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.105, allocations: 8 kB / 487.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1051, allocations: 8 kB / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.1053, allocations: 142.2 kB / 487.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.1061, allocations: 0.5966 MB / 488.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.1065, allocations: 223.4 kB / 488.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1067, allocations: 73.3 kB / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1067, allocations: 8.172 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.1067, allocations: 30.8 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.1067, allocations: 4 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0003974/0.1071, allocations: 219.8 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1072, allocations: 55.41 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.1073, allocations: 109.8 kB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1073, allocations: 29.7 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.1073, allocations: 132.5 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.1074, allocations: 86.75 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.1075, allocations: 41.7 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.1076, allocations: 322.8 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.1077, allocations: 43.97 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.1078, allocations: 47.95 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1079, allocations: 114.2 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1079, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002473/0.1082, allocations: 181.3 kB / 489.8 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1082, allocations: 4 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1082, allocations: 0 / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1082, allocations: 3.984 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1086, allocations: 99.95 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1086, allocations: 4 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.1087, allocations: 11.84 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1087, allocations: 11.98 kB / 489.9 MB, free: 11.86 MB / 366.1 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 9.051e-05/0.1088, allocations: 129.8 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1088, allocations: 11.84 kB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.1089, allocations: 21.78 kB / 490 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1089, allocations: 8 kB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1089, allocations: 4 kB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1089, allocations: 0 / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1092, allocations: 273.4 kB / 490.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1092, allocations: 3.938 kB / 490.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.1095, allocations: 99.88 kB / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1095, allocations: 0 / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1096, allocations: 8 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1096, allocations: 4 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1096, allocations: 0 / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.1099, allocations: 275.2 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.1099, allocations: 96.88 kB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1099, allocations: 8 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.11, allocations: 4 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1101, allocations: 23.97 kB / 490.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1101, allocations: 4 kB / 490.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.1101, allocations: 83.28 kB / 490.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1101, allocations: 4 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1104, allocations: 43.78 kB / 491 MB, free: 10.69 MB / 366.1 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 9.158e-05/0.1105, allocations: 99.23 kB / 491.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1108, allocations: 132.3 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1108, allocations: 4 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1109, allocations: 92.22 kB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1111, allocations: 15.94 kB / 491.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.1118, allocations: 464 kB / 491.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.112, allocations: 0.728 MB / 492.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.019e-05/0.1121, allocations: 21.41 kB / 492.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1122, allocations: 19.42 kB / 492.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1122, allocations: 0 / 492.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of Templates: time 0.002841/0.115, allocations: 0.9211 MB / 493.4 MB, free: 8.148 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches