Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3059, allocations: 52.15 MB / 420.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002908/0.3089, allocations: 1.527 MB / 422.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.3098, allocations: 0.5045 MB / 422.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.3098, allocations: 4 kB / 422.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.3099, allocations: 19.86 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.068e-05/0.31, allocations: 11.88 kB / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.3101, allocations: 39.89 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.3102, allocations: 51.91 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3103, allocations: 19.92 kB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3104, allocations: 31.86 kB / 423 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.3105, allocations: 31.89 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3105, allocations: 8 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.3106, allocations: 12 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.3106, allocations: 19.92 kB / 423.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.3106, allocations: 19.88 kB / 423.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3108, allocations: 72.92 kB / 423.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3108, allocations: 0 / 423.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3108, allocations: 4 kB / 423.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3108, allocations: 0 / 423.2 MB, free: 12.74 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.0006442/0.3115, allocations: 383.2 kB / 423.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3115, allocations: 12.03 kB / 423.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3115, allocations: 8.891 kB / 423.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3117, allocations: 172.3 kB / 423.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3117, allocations: 4.375 kB / 423.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3117, allocations: 4.375 kB / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.312, allocations: 89.7 kB / 423.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.312, allocations: 3.984 kB / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.312, allocations: 8 kB / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.312, allocations: 0 / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.3123, allocations: 79.91 kB / 424 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3128, allocations: 304.7 kB / 424.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.313, allocations: 74.47 kB / 424.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.3131, allocations: 44.95 kB / 424.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3132, allocations: 7.969 kB / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3132, allocations: 30.56 kB / 424.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3132, allocations: 3.938 kB / 424.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005385/0.3137, allocations: 153.6 kB / 424.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3138, allocations: 59.39 kB / 424.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.3139, allocations: 109.8 kB / 424.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3139, allocations: 25.7 kB / 424.8 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.3139, allocations: 100 kB / 424.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.314, allocations: 15.86 kB / 424.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.314, allocations: 17.7 kB / 424.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3141, allocations: 318.8 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3143, allocations: 35.95 kB / 425.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3144, allocations: 35.97 kB / 425.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3147, allocations: 92.72 kB / 425.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3147, allocations: 0 / 425.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003188/0.315, allocations: 101.6 kB / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.315, allocations: 15.98 kB / 425.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.315, allocations: 0 / 425.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.315, allocations: 0 / 425.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3152, allocations: 15.98 kB / 425.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.3152, allocations: 0 / 425.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.3152, allocations: 15.98 kB / 425.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3152, allocations: 3.938 kB / 425.5 MB, free: 10.21 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.489e-05/0.3153, allocations: 121.8 kB / 425.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3154, allocations: 11.95 kB / 425.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.3157, allocations: 133.5 kB / 425.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3157, allocations: 0 / 425.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3157, allocations: 0 / 425.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3157, allocations: 3.984 kB / 425.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.316, allocations: 189.6 kB / 426 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.316, allocations: 4.375 kB / 426 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3161, allocations: 19.98 kB / 426 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3161, allocations: 448 / 426 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3161, allocations: 0 / 426 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.3161, allocations: 7.922 kB / 426 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3161, allocations: 4 kB / 426 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.3165, allocations: 231.4 kB / 426.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3165, allocations: 85 kB / 426.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3166, allocations: 3.984 kB / 426.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3167, allocations: 11.98 kB / 426.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3167, allocations: 8 kB / 426.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3167, allocations: 0 / 426.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.3168, allocations: 95.2 kB / 426.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3168, allocations: 4 kB / 426.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.317, allocations: 8 kB / 426.4 MB, free: 9.188 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.0001342/0.3171, allocations: 99.78 kB / 426.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.3175, allocations: 91.84 kB / 426.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3175, allocations: 4 kB / 426.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3176, allocations: 43.95 kB / 426.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3179, allocations: 4 kB / 426.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.3183, allocations: 169.9 kB / 426.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3186, allocations: 0.6961 MB / 427.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3186, allocations: 0 / 427.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.3187, allocations: 11.44 kB / 427.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3187, allocations: 0 / 427.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of Templates: time 0.003583/0.3223, allocations: 0.9329 MB / 428.5 MB, free: 7.086 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.51373481284827]