Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001173/0.001173, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001159/0.001159, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.014/1.014, allocations: 177 MB / 204.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 3.938 kB / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.373e-05, allocations: 5.125 kB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003536/0.00358, allocations: 1.558 MB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.005061, allocations: 0.5141 MB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.005141, allocations: 0 / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.00536, allocations: 27.86 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.005487, allocations: 7.875 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.005815, allocations: 43.83 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.005942, allocations: 55.84 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.006073, allocations: 8 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.00636, allocations: 47.88 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.006441, allocations: 19.92 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.006471, allocations: 4 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.006559, allocations: 27.88 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.006583, allocations: 11.98 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.006622, allocations: 23.91 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.006836, allocations: 55.81 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006839, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006841, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.006847, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006999/0.007547, allocations: 396.5 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.007606, allocations: 11.98 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.007668, allocations: 12.89 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.007794, allocations: 124.4 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.007815, allocations: 4.375 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.007834, allocations: 4.375 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.008063, allocations: 78.92 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.008076, allocations: 192 / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.008091, allocations: 384 / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.008105, allocations: 7.922 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.008176, allocations: 19.92 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.008633, allocations: 295.7 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.008777, allocations: 50.98 kB / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.008822, allocations: 23.72 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.008843, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.008873, allocations: 37.52 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.008875, allocations: 0 / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002393/0.009114, allocations: 61.64 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.009149, allocations: 51.41 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.009249, allocations: 173.9 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.009263, allocations: 25.7 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.009323, allocations: 142.8 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.009352, allocations: 15.89 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.009397, allocations: 35.3 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.009538, allocations: 496.1 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.009573, allocations: 4 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.009602, allocations: 11.98 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.009664, allocations: 27.69 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009666, allocations: 0 / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001156/0.009782, allocations: 57.95 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.009803, allocations: 11.12 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.009809, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.00983, allocations: 64 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.009948, allocations: 19.92 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.009958, allocations: 8 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.009997, allocations: 4 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.01001, allocations: 4 kB / 277.4 MB, free: 12.73 MB / 266.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 (5): * Single equations (assignments): 5 * 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 8.575e-05/0.01009, allocations: 152.6 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.01012, allocations: 11.92 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.0103, allocations: 77.75 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.0103, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.0103, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01031, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.01358, allocations: 136.6 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.01359, allocations: 0 / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.01373, allocations: 23.86 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.01373, allocations: 0 / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01375, allocations: 7.938 kB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.01375, allocations: 0 / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.01375, allocations: 0 / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.01403, allocations: 211.9 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01405, allocations: 15.92 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01406, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.01419, allocations: 4 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.01426, allocations: 11.98 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01427, allocations: 4 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01437, allocations: 135.1 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01437, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.01453, allocations: 12 kB / 278.2 MB, free: 11.87 MB / 266.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 (7): * Single equations (assignments): 7 * 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.0001444/0.01467, allocations: 95.25 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.0148, allocations: 35.67 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0148, allocations: 4 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.01483, allocations: 27.61 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.01505, allocations: 9.172 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.0154, allocations: 177.9 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.01544, allocations: 59.34 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.01546, allocations: 4 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01549, allocations: 12.5 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01549, allocations: 0 / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Templates: time 0.002666/0.01816, allocations: 0.9792 MB / 279.6 MB, free: 10.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.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.073530492838472]