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.001893/0.001893, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002001/0.002001, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.526/1.526, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.002013/0.002013, allocations: 67.89 kB / 378.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3049, allocations: 53.41 MB / 432.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003084/0.308, allocations: 1.516 MB / 433.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.309, allocations: 0.4909 MB / 434.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.309, allocations: 0 / 434.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.3092, allocations: 19.88 kB / 434.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.3092, allocations: 11.86 kB / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.3094, allocations: 39.91 kB / 434.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3096, allocations: 55.84 kB / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3097, allocations: 11.98 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3099, allocations: 35.84 kB / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.3099, allocations: 27.84 kB / 434.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.31, allocations: 4 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.31, allocations: 24 kB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.31, allocations: 7.984 kB / 434.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.3101, allocations: 19.88 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3102, allocations: 75.38 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3102, allocations: 0 / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3102, allocations: 3.938 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3102, allocations: 0 / 434.7 MB, free: 4.219 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.0006563/0.3109, allocations: 309.1 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3109, allocations: 19.98 kB / 435 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.311, allocations: 4.891 kB / 435 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3111, allocations: 118.5 kB / 435.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3111, allocations: 4.375 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3111, allocations: 4.375 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3114, allocations: 89.89 kB / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3114, allocations: 0 / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3115, allocations: 4 kB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3115, allocations: 0 / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3118, allocations: 79.92 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3122, allocations: 240.4 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3124, allocations: 70.53 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3126, allocations: 52.94 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3126, allocations: 3.938 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3127, allocations: 38.59 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3127, allocations: 0 / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005585/0.3132, allocations: 149.5 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3133, allocations: 51.41 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.3134, allocations: 117.8 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3134, allocations: 26.08 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.3134, allocations: 92.03 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.3135, allocations: 19.89 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.3135, allocations: 13.72 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3137, allocations: 322.7 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3138, allocations: 35.95 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3139, allocations: 43.95 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.3142, allocations: 84.73 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3142, allocations: 0 / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003341/0.3146, allocations: 113.6 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3146, allocations: 10.5 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3146, allocations: 448 / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3146, allocations: 3.984 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3147, allocations: 15.98 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3147, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.3148, allocations: 23.97 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3148, allocations: 4 kB / 436.8 MB, free: 1.93 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 8.655e-05/0.3149, allocations: 117.7 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.315, allocations: 4 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.3154, allocations: 145.5 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3154, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3154, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3154, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3155, allocations: 125.2 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3155, allocations: 4 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3157, allocations: 23.97 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3157, allocations: 4 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3157, allocations: 0 / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3157, allocations: 3.938 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3157, allocations: 3.938 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.3161, allocations: 223.4 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.3161, allocations: 0 / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3161, allocations: 0 / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3162, allocations: 15.98 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.3163, allocations: 11.98 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3163, allocations: 0 / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.545e-05/0.3163, allocations: 91.27 kB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3163, allocations: 288 / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3165, allocations: 8 kB / 437.6 MB, free: 1.098 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.0001503/0.3167, allocations: 111.2 kB / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.317, allocations: 83.86 kB / 437.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3171, allocations: 4 kB / 437.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3172, allocations: 43.95 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3175, allocations: 11.88 kB / 437.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.3179, allocations: 195.8 kB / 438 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.848e-05/0.318, allocations: 71.33 kB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.318, allocations: 11.44 kB / 438.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.318, allocations: 0 / 438.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of Templates: time 0.002673/0.3207, allocations: 0.9939 MB / 439.1 MB, free: 15.53 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.8579931277781725]