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.001028/0.001028, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.002391/0.002391, allocations: 170.8 kB / 24.92 MB, free: 8.758 MB / 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.039 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 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.495e-05, allocations: 2.312 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.005195/0.00521, allocations: 1.598 MB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.005937, allocations: 0.5257 MB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.005976, allocations: 0 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.006066, allocations: 15.88 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.00613, allocations: 7.875 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.006275, allocations: 43.83 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.006354, allocations: 59.78 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.006429, allocations: 15.97 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.006586, allocations: 35.97 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.006639, allocations: 31.89 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.006654, allocations: 8 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.006705, allocations: 15.94 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.006719, allocations: 15.92 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.006738, allocations: 12 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.006854, allocations: 63.69 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006856, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006857, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.00686, allocations: 0 / 275.8 MB, free: 14.61 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.0003503/0.00721, allocations: 276.8 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.007243, allocations: 11.98 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.007272, allocations: 16.92 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.00735, allocations: 117.7 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.007362, allocations: 384 / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.007372, allocations: 8.375 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.01051, allocations: 78.86 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.01052, allocations: 4.172 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.01052, allocations: 384 / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01053, allocations: 3.938 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.01057, allocations: 15.92 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.0108, allocations: 184.2 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.825e-05/0.01087, allocations: 30.58 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.01089, allocations: 16.84 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.0109, allocations: 0 / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.01092, allocations: 42.62 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 6.51e-07/0.01092, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001187/0.01104, allocations: 53.72 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.01107, allocations: 51.41 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.01113, allocations: 114.7 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.01114, allocations: 29.7 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.01117, allocations: 96.05 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.01119, allocations: 15.86 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.01122, allocations: 17.72 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.01129, allocations: 322.8 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.0113, allocations: 0 / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.01132, allocations: 8 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.01135, allocations: 20.78 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01136, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.212e-05/0.01142, allocations: 57.56 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.01143, allocations: 4 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01143, allocations: 4 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01144, allocations: 4 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.01151, allocations: 11.98 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.01152, allocations: 4 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.01154, allocations: 7.984 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.01155, allocations: 0 / 277.4 MB, free: 12.86 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 4.723e-05/0.0116, allocations: 109.8 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.01162, allocations: 7.938 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.0117, allocations: 73.7 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.0117, allocations: 0 / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01171, allocations: 8 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01171, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.01182, allocations: 77.88 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.01182, allocations: 448 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.01187, allocations: 15.98 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.01187, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.01187, allocations: 4 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01188, allocations: 7.938 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01188, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.01196, allocations: 151.5 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.01197, allocations: 11.94 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.01198, allocations: 4 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.01204, allocations: 7.938 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.01207, allocations: 7.984 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.01207, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.444e-05/0.01208, allocations: 12.84 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01226, allocations: 16 kB / 277.9 MB, free: 12.29 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 8.114e-05/0.01235, allocations: 80.42 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.01241, allocations: 32.77 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01242, allocations: 0 / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.01244, allocations: 17.02 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.0126, allocations: 16.12 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.01283, allocations: 172.1 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.01286, allocations: 55.36 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.417e-05/0.01289, allocations: 11.98 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.01294, allocations: 55.38 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01294, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Templates: time 0.005613/0.01855, allocations: 0.9463 MB / 279.3 MB, free: 10.86 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 -s gbode -gbm=radauIIA3 -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: 2.571554508060217]