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.001249/0.001249, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001389/0.001389, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.432/1.432, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 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 0.001919/0.001919, allocations: 59.91 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3005, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00282/0.3033, allocations: 1.531 MB / 433.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.3043, allocations: 0.5453 MB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.3043, allocations: 0 / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.3044, allocations: 11.94 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.3045, allocations: 7.875 kB / 434.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.3046, allocations: 43.89 kB / 434.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3047, allocations: 63.72 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3048, allocations: 19.98 kB / 434.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.305, allocations: 31.91 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.3051, allocations: 31.84 kB / 434.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3051, allocations: 4 kB / 434.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.125e-05/0.3052, allocations: 23.94 kB / 434.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3052, allocations: 7.984 kB / 434.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.3052, allocations: 23.88 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.3054, allocations: 71.44 kB / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3054, allocations: 0 / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3054, allocations: 0 / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3054, allocations: 4 kB / 434.8 MB, free: 4.348 MB / 334.1 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.0006281/0.306, allocations: 303.7 kB / 435.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.306, allocations: 8.031 kB / 435.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3061, allocations: 8.891 kB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3062, allocations: 122.4 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3062, allocations: 8.375 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3062, allocations: 384 / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.3065, allocations: 93.89 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3065, allocations: 0 / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3065, allocations: 4 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3065, allocations: 0 / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.3068, allocations: 79.86 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.3073, allocations: 275.8 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.3076, allocations: 74.56 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.3077, allocations: 48.94 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3077, allocations: 0 / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3078, allocations: 38.56 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3078, allocations: 0 / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005592/0.3083, allocations: 153.5 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3084, allocations: 55.41 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3085, allocations: 117.7 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3085, allocations: 29.7 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.3086, allocations: 96.02 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3086, allocations: 11.91 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3086, allocations: 17.72 kB / 436.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3088, allocations: 322.8 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3089, allocations: 35.97 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3091, allocations: 39.95 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3093, allocations: 76.78 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3093, allocations: 0 / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003393/0.3097, allocations: 117.6 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3097, allocations: 4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3097, allocations: 4 kB / 436.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3097, allocations: 3.938 kB / 436.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3098, allocations: 19.97 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3098, allocations: 0 / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.3099, allocations: 11.98 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3099, allocations: 4 kB / 437 MB, free: 2.023 MB / 334.1 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 9.44e-05/0.31, allocations: 117.8 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3101, allocations: 0 / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.3105, allocations: 137.6 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3105, allocations: 4 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3105, allocations: 11.92 kB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3105, allocations: 3.938 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3107, allocations: 156.6 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3107, allocations: 4 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3108, allocations: 24.41 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3108, allocations: 4 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3108, allocations: 0 / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3108, allocations: 4 kB / 437.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3108, allocations: 0 / 437.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.3112, allocations: 215.4 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.3112, allocations: 7.953 kB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3113, allocations: 4.375 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3114, allocations: 11.98 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3114, allocations: 11.98 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3114, allocations: 7.938 kB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.567e-05/0.3115, allocations: 91.2 kB / 437.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3115, allocations: 0 / 437.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3117, allocations: 15.94 kB / 437.8 MB, free: 1.129 MB / 334.1 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.0001409/0.3119, allocations: 99.23 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.3122, allocations: 88.06 kB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3122, allocations: 0 / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.3124, allocations: 51.89 kB / 438 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.3127, allocations: 11.98 kB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.3131, allocations: 187.9 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3134, allocations: 0.6846 MB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3135, allocations: 11.44 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3135, allocations: 0 / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Templates: time 0.002705/0.3162, allocations: 0.9771 MB / 439.9 MB, free: 14.97 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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: 6.742357617942616]