Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001758/0.001758, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001449/0.001449, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.502/1.502, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2467/0.2467, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 79.86 kB / 0.4972 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4475, allocations: 66.03 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003539/0.451, allocations: 2.152 MB / 0.5638 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.4535, allocations: 1.398 MB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.4536, allocations: 7.938 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.972e-05/0.4537, allocations: 19.73 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.4538, allocations: 39.64 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.4544, allocations: 199.3 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.4546, allocations: 184 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.4549, allocations: 87.88 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.4551, allocations: 87.64 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.4552, allocations: 95.48 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.4552, allocations: 16 kB / 0.5658 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.4556, allocations: 147.9 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.4556, allocations: 51.83 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4557, allocations: 91.42 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.4562, allocations: 321.1 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4562, allocations: 3.938 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4562, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4562, allocations: 0 / 0.5664 GB, free: 15.62 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.0007243/0.4569, allocations: 465.5 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/0.457, allocations: 12.03 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.458, allocations: 80.73 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4583, allocations: 154.2 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.4583, allocations: 25.03 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.4583, allocations: 24.38 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.4588, allocations: 202.4 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4588, allocations: 4 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.4588, allocations: 8 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4588, allocations: 12 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.4591, allocations: 142.5 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.46, allocations: 0.547 MB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.4605, allocations: 216.2 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4606, allocations: 65.23 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4607, allocations: 12.16 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4607, allocations: 38.8 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.4607, allocations: 0 / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005222/0.4612, allocations: 219.9 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4613, allocations: 59.34 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4614, allocations: 109.8 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4614, allocations: 25.7 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.4615, allocations: 136.7 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.4616, allocations: 91.19 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.4617, allocations: 45.7 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4618, allocations: 322.8 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.4619, allocations: 39.97 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.462, allocations: 53.59 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.4622, allocations: 113.3 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4623, allocations: 0 / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003172/0.4626, allocations: 169.5 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4626, allocations: 12 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4626, allocations: 0 / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4626, allocations: 0 / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.463, allocations: 95.94 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.463, allocations: 0 / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.4631, allocations: 15.89 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.4631, allocations: 16 kB / 0.5698 GB, free: 11.97 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.0001194/0.4632, allocations: 125.7 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.4632, allocations: 23.83 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.4633, allocations: 29.56 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4633, allocations: 4 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4633, allocations: 0 / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4633, allocations: 0 / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.4636, allocations: 240.5 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4636, allocations: 7.938 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.464, allocations: 99.88 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.464, allocations: 4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.464, allocations: 4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.464, allocations: 0 / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.464, allocations: 7.938 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.4643, allocations: 279.6 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.4644, allocations: 19.78 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.4644, allocations: 8 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.4645, allocations: 4 kB / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.4645, allocations: 15.97 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4645, allocations: 8.25 kB / 0.5706 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.259e-05/0.4646, allocations: 91.27 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4646, allocations: 0 / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.4649, allocations: 43.89 kB / 0.5708 GB, free: 10.91 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.0001143/0.465, allocations: 99.25 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.4653, allocations: 119.9 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4653, allocations: 4 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4654, allocations: 75.83 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.4657, allocations: 14.28 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.4665, allocations: 473.8 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.4669, allocations: 0.7434 MB / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.496e-05/0.467, allocations: 17.41 kB / 0.5723 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.4671, allocations: 15.44 kB / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4671, allocations: 4 kB / 0.5723 GB, free: 9.297 MB / 414.1 MB Notification: Performance of Templates: time 0.004224/0.4713, allocations: 1.066 MB / 0.5733 GB, free: 8.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.5396843040362]