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.001157/0.001157, allocations: 88.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.001474/0.001474, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.066 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.342e-06/1.342e-06, allocations: 0 / 273.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.647e-05, allocations: 5.266 kB / 273.3 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002131/0.002157, allocations: 1.556 MB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.002905, allocations: 0.5257 MB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.002954, allocations: 0 / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003055, allocations: 15.88 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.003128, allocations: 15.86 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.003309, allocations: 39.84 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.003392, allocations: 51.84 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.003486, allocations: 27.91 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.003672, allocations: 31.97 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.003731, allocations: 31.89 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.003748, allocations: 8 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.003808, allocations: 19.88 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.003825, allocations: 15.92 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.003845, allocations: 12 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.003976, allocations: 55.8 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.003979, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.00398, allocations: 4 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.003985, allocations: 0 / 275.7 MB, free: 14.73 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.0004098/0.004395, allocations: 276.8 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.00443, allocations: 19.92 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.004458, allocations: 4.938 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.872e-05/0.004536, allocations: 121.6 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.00455, allocations: 4.375 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004561, allocations: 4.375 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.00468, allocations: 74.92 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004687, allocations: 192 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.004696, allocations: 384 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.004703, allocations: 11.94 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.004745, allocations: 15.92 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.004992, allocations: 176.2 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.005072, allocations: 34.56 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.005098, allocations: 13.02 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.005114, allocations: 4 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.005135, allocations: 38.5 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.005137, allocations: 0 / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001234/0.00526, allocations: 53.67 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.005302, allocations: 55.41 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.005364, allocations: 118.7 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.005375, allocations: 25.7 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.005414, allocations: 96.05 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.00544, allocations: 15.8 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.005472, allocations: 17.72 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.005556, allocations: 322.8 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.005572, allocations: 4 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.005585, allocations: 4 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.005624, allocations: 20.84 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.005627, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.162e-05/0.005689, allocations: 57.62 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.005702, allocations: 7.984 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005707, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005719, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.005796, allocations: 15.94 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.005799, allocations: 0 / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.005821, allocations: 7.984 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.005825, allocations: 3.938 kB / 277.3 MB, free: 12.98 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 5.151e-05/0.005876, allocations: 109.8 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.005892, allocations: 11.94 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.355e-05/0.005986, allocations: 69.7 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005988, allocations: 4 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.00599, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005994, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.789e-05/0.006092, allocations: 77.88 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006093, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.006141, allocations: 20.36 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.006143, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006148, allocations: 8 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.006152, allocations: 7.938 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006153, allocations: 4 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/0.006237, allocations: 143.5 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.006249, allocations: 11.94 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.006258, allocations: 0 / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.006294, allocations: 7.938 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.00633, allocations: 11.98 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006333, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.006354, allocations: 20.78 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006354, allocations: 0 / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001222/0.006476, allocations: 12 kB / 277.8 MB, free: 12.41 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.0001096/0.006586, allocations: 84.36 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.006671, allocations: 24.84 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.006674, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.0067, allocations: 28.77 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.006849, allocations: 8.312 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.00713, allocations: 172.2 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.007166, allocations: 59.34 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.147e-05/0.007187, allocations: 4 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.007241, allocations: 55.38 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007242, allocations: 0 / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Templates: time 0.002592/0.009834, allocations: 0.949 MB / 279.2 MB, free: 10.98 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: 2.6565496628172696]