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.001073/0.001073, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.001198/0.001198, allocations: 159.3 kB / 24.99 MB, free: 8.309 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 0.9714/0.9714, allocations: 177 MB / 205.2 MB, free: 5.605 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.423e-06/1.423e-06, allocations: 0 / 272.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.348e-05, allocations: 2.312 kB / 272.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.005493/0.005516, allocations: 1.564 MB / 274.5 MB, free: 248 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.006269, allocations: 0.5102 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.006311, allocations: 0 / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.006417, allocations: 19.86 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.006484, allocations: 7.875 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.006646, allocations: 39.84 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.006738, allocations: 67.77 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.006827, allocations: 8 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.006999, allocations: 47.89 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.007053, allocations: 19.97 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.007068, allocations: 4 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.007119, allocations: 19.88 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.007135, allocations: 19.92 kB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.007162, allocations: 19.91 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.007302, allocations: 55.81 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007305, allocations: 4 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007306, allocations: 4 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.00731, allocations: 0 / 275.3 MB, free: 15.39 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.0004667/0.007777, allocations: 396.5 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.007814, allocations: 11.98 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.007855, allocations: 8.891 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.007949, allocations: 116.5 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.007966, allocations: 8.375 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.007978, allocations: 4.375 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.01115, allocations: 74.92 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.01116, allocations: 8.188 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.01117, allocations: 4.375 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.01119, allocations: 7.922 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.01127, allocations: 19.92 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.01164, allocations: 287.7 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.01174, allocations: 51.03 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.01177, allocations: 19.8 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.01179, allocations: 4 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.01181, allocations: 33.39 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.01181, allocations: 4 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001835/0.01199, allocations: 65.64 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.01202, allocations: 51.41 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.01212, allocations: 173.8 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.01213, allocations: 29.7 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.01218, allocations: 142.8 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.01221, allocations: 19.89 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.01224, allocations: 23.38 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01236, allocations: 0.4883 MB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.01239, allocations: 8 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.01241, allocations: 8 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.01246, allocations: 27.67 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01246, allocations: 0 / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.235e-05/0.01255, allocations: 65.58 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01256, allocations: 7.125 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01257, allocations: 4 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01258, allocations: 3.938 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.01266, allocations: 11.98 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.01267, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.0127, allocations: 8 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01271, allocations: 448 / 277.5 MB, free: 13.03 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 6.541e-05/0.01277, allocations: 160.6 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.0128, allocations: 7.938 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.01292, allocations: 69.75 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01292, allocations: 7.984 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01292, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01293, allocations: 4 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.01306, allocations: 136.6 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.01306, allocations: 3.938 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.01312, allocations: 19.92 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01312, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.01312, allocations: 4 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01313, allocations: 4 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01313, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01326, allocations: 211.9 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-06/0.01327, allocations: 7.938 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.01328, allocations: 3.984 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.01334, allocations: 8 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.01338, allocations: 7.984 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.01338, allocations: 0 / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.23e-05/0.01342, allocations: 139.1 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01342, allocations: 4 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.01364, allocations: 8 kB / 278.3 MB, free: 12.16 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 9.359e-05/0.01373, allocations: 99.25 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.01383, allocations: 31.61 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01383, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.01387, allocations: 31.61 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.01714, allocations: 17.17 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.0175, allocations: 169.9 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.01755, allocations: 63.34 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.01757, allocations: 0 / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.01761, allocations: 12.5 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01761, allocations: 0 / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Templates: time 0.005802/0.02341, allocations: 0.9722 MB / 279.7 MB, free: 10.71 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.850095752859488]