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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 MB
"
[Timeout remaining time 180]
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=5002,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=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.88 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2757, allocations: 66.02 MB / 0.5615 GB, free: 4.605 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003225/0.2789, allocations: 2.148 MB / 0.5636 GB, free: 2.445 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002129/0.2811, allocations: 1.406 MB / 0.565 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.2812, allocations: 4 kB / 0.565 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.173e-05/0.2812, allocations: 23.67 kB / 0.565 GB, free: 1.004 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2813, allocations: 31.72 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.2818, allocations: 195.3 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002188/0.282, allocations: 188 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2822, allocations: 93.19 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.2824, allocations: 87.64 kB / 0.5656 GB, free: 428 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2825, allocations: 87.55 kB / 0.5657 GB, free: 340 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2825, allocations: 16 kB / 0.5657 GB, free: 324 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.2828, allocations: 151.9 kB / 0.5659 GB, free: 172 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.2828, allocations: 47.84 kB / 0.5659 GB, free: 124 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.2829, allocations: 91.41 kB / 0.566 GB, free: 32 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2833, allocations: 321.1 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2833, allocations: 0 / 0.5663 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.2833, allocations: 0 / 0.5663 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 5.199e-06/0.2833, allocations: 0 / 0.5663 GB, free: 15.72 MB / 414.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.0005607/0.2839, allocations: 469.5 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2839, allocations: 8.031 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008646/0.2848, allocations: 84.73 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.285, allocations: 154.2 kB / 0.567 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.285, allocations: 21.03 kB / 0.567 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.2851, allocations: 24.38 kB / 0.567 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2854, allocations: 206.4 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2854, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.2855, allocations: 12 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2855, allocations: 12 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.2857, allocations: 146.5 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.2866, allocations: 0.547 MB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.2871, allocations: 215.3 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2872, allocations: 65.23 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2872, allocations: 8.172 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2872, allocations: 38.8 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.2873, allocations: 0 / 0.5682 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of matching and sorting (n=27): time 0.0004725/0.2877, allocations: 223.8 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2878, allocations: 55.41 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.2879, allocations: 105.9 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.2879, allocations: 29.7 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.288, allocations: 136.7 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.2881, allocations: 95.17 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.2881, allocations: 41.7 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001358/0.2883, allocations: 322.8 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2884, allocations: 43.97 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.2885, allocations: 48.91 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.2887, allocations: 113.3 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2887, allocations: 0 / 0.5694 GB, free: 12.38 MB / 414.1 MB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002959/0.289, allocations: 177.5 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.289, allocations: 4 kB / 0.5696 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.289, allocations: 0 / 0.5696 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.289, allocations: 0 / 0.5696 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.2894, allocations: 103.9 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2894, allocations: 4 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.2894, allocations: 15.89 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2895, allocations: 8 kB / 0.5697 GB, free: 12.06 MB / 414.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 0.0001046/0.2896, allocations: 125.8 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.2896, allocations: 15.84 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.2897, allocations: 25.61 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2897, allocations: 4 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2897, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2897, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.29, allocations: 244.5 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.29, allocations: 3.938 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.2903, allocations: 103.9 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2903, allocations: 0 / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2903, allocations: 4 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.2903, allocations: 11.92 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2903, allocations: 0 / 0.5702 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.2907, allocations: 275.6 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.2907, allocations: 23.77 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.2907, allocations: 8 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.2908, allocations: 0 / 0.5705 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2909, allocations: 19.97 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.2909, allocations: 7.938 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 5.844e-05/0.2909, allocations: 91.52 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2909, allocations: 0 / 0.5706 GB, free: 11.05 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002613/0.2912, allocations: 51.89 kB / 0.5707 GB, free: 11 MB / 414.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 0.000123/0.2913, allocations: 99.19 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002932/0.2916, allocations: 115.9 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2916, allocations: 4 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.2918, allocations: 75.88 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.292, allocations: 11.94 kB / 0.571 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.2927, allocations: 473.8 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2931, allocations: 0.7434 MB / 0.5721 GB, free: 9.426 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.065e-05/0.2932, allocations: 17.41 kB / 0.5721 GB, free: 9.406 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.2932, allocations: 19.38 kB / 0.5722 GB, free: 9.391 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2932, allocations: 4 kB / 0.5722 GB, free: 9.387 MB / 414.1 MB
Notification: Performance of Templates: time 0.003814/0.2971, allocations: 1.065 MB / 0.5732 GB, free: 8.324 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660]
(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  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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.542634869925678]