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.002503/0.002503, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002829/0.002829, allocations: 160.8 kB / 24.27 MB, free: 156 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.667/1.667, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.905e-06/2.905e-06, allocations: 0 / 272.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.827e-05, allocations: 2.312 kB / 272.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.004555/0.004594, allocations: 1.523 MB / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.006159, allocations: 0.5141 MB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.006226, allocations: 8 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.006395, allocations: 15.81 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.006506, allocations: 15.86 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.006765, allocations: 39.84 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.006908, allocations: 55.78 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.007039, allocations: 15.98 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.007317, allocations: 39.89 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.007406, allocations: 23.97 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.007432, allocations: 4 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.007519, allocations: 16 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.007545, allocations: 15.92 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.007591, allocations: 15.98 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.007852, allocations: 87.58 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.007857, allocations: 0 / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.007859, allocations: 0 / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.007865, allocations: 0 / 274.5 MB, free: 15.46 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.000909/0.008774, allocations: 396.1 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.008834, allocations: 19.97 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.008902, allocations: 8.891 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.009074, allocations: 116.6 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.009097, allocations: 4.375 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.009116, allocations: 4.375 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.009443, allocations: 78.16 kB / 275.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.009454, allocations: 192 / 275.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.009468, allocations: 384 / 275.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.009483, allocations: 7.938 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.009818, allocations: 59.89 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.01054, allocations: 307.6 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.01086, allocations: 74.97 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.01105, allocations: 35.8 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01108, allocations: 0 / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.01112, allocations: 33.39 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.01112, allocations: 0 / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006652/0.01178, allocations: 125.8 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.01186, allocations: 55.41 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.01207, allocations: 173.9 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.0121, allocations: 25.7 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01223, allocations: 142.8 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.01227, allocations: 19.86 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.01235, allocations: 23.38 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003819/0.01273, allocations: 0.4884 MB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.01289, allocations: 24.05 kB / 276.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01304, allocations: 27.98 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.01335, allocations: 67.59 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01335, allocations: 0 / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003993/0.01375, allocations: 97.53 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.01377, allocations: 4 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.01379, allocations: 0 / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01381, allocations: 4 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.01398, allocations: 11.98 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.01399, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.01408, allocations: 15.95 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.0141, allocations: 4 kB / 276.9 MB, free: 12.84 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 0.000181/0.01428, allocations: 164.5 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.01433, allocations: 7.938 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.0148, allocations: 105.8 kB / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.0148, allocations: 0 / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01481, allocations: 0 / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01481, allocations: 0 / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.01513, allocations: 148.5 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01513, allocations: 4 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.01528, allocations: 19.92 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01528, allocations: 0 / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.0153, allocations: 4 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.0153, allocations: 0 / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0153, allocations: 192 / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.01585, allocations: 251.8 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.01588, allocations: 11.89 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.0159, allocations: 4 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.01604, allocations: 11.98 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.01611, allocations: 7.984 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01612, allocations: 4 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.01625, allocations: 131.2 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01625, allocations: 0 / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004122/0.01667, allocations: 11.98 kB / 277.8 MB, free: 11.9 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.000214/0.01688, allocations: 99.25 kB / 277.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.01729, allocations: 75.58 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01729, allocations: 0 / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.01748, allocations: 43.67 kB / 278 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.01793, allocations: 8.312 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.01852, allocations: 193.8 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01863, allocations: 75.34 kB / 278.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.01868, allocations: 4.234 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.01874, allocations: 12.5 kB / 278.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01874, allocations: 0 / 278.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.005669/0.02441, allocations: 0.9677 MB / 279.3 MB, free: 10.38 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.662788124056533]