Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 217 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 58.56 kB / 347.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001609/0.3072, allocations: 0.5248 MB / 397.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3093, allocations: 1.89 MB / 399.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.3093, allocations: 1.438 kB / 399.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.311, allocations: 145 kB / 399.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3111, allocations: 26.62 kB / 399.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3113, allocations: 44.55 kB / 399.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.3114, allocations: 52.69 kB / 399.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.3114, allocations: 8.828 kB / 399.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.3115, allocations: 26.84 kB / 399.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3116, allocations: 27.59 kB / 399.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3116, allocations: 4.906 kB / 399.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.3117, allocations: 25.12 kB / 399.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.3118, allocations: 50.16 kB / 399.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.3118, allocations: 15.34 kB / 399.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.312, allocations: 57.98 kB / 399.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.312, allocations: 1.469 kB / 399.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.312, allocations: 0 / 399.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.312, allocations: 0 / 399.7 MB, free: 7.48 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003914/0.3124, allocations: 321.6 kB / 400 MB, free: 7.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3125, allocations: 13.17 kB / 400 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.3125, allocations: 9.25 kB / 400.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3127, allocations: 140.4 kB / 400.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3127, allocations: 5.812 kB / 400.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3127, allocations: 384 / 400.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.3129, allocations: 182.1 kB / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3129, allocations: 0 / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3129, allocations: 1.375 kB / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3129, allocations: 0 / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.3129, allocations: 3.531 kB / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.3131, allocations: 129 kB / 400.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.3132, allocations: 21.62 kB / 400.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.3132, allocations: 8.375 kB / 400.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.3132, allocations: 4.703 kB / 400.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3132, allocations: 58.33 kB / 400.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3132, allocations: 1.344 kB / 400.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.3134, allocations: 50.22 kB / 400.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3134, allocations: 162.1 kB / 400.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3135, allocations: 148.6 kB / 400.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3136, allocations: 25.7 kB / 401 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.3136, allocations: 94.5 kB / 401.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.3136, allocations: 2.266 kB / 401.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3136, allocations: 21.48 kB / 401.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.3137, allocations: 322.5 kB / 401.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.3137, allocations: 2.703 kB / 401.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.3137, allocations: 150.7 kB / 401.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.3138, allocations: 12.89 kB / 401.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3138, allocations: 0 / 401.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.595e-05/0.3138, allocations: 56.58 kB / 401.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3139, allocations: 9.469 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3139, allocations: 1.188 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3139, allocations: 0 / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.3139, allocations: 11.12 kB / 401.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3139, allocations: 4.906 kB / 401.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.314, allocations: 3.453 kB / 401.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.314, allocations: 1.062 kB / 401.7 MB, free: 5.516 MB / 318.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 (2): * Single equations (assignments): 2 * 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.709e-05/0.314, allocations: 124 kB / 401.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.3141, allocations: 12.47 kB / 401.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.3141, allocations: 15.69 kB / 401.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3141, allocations: 0 / 401.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3141, allocations: 1.031 kB / 401.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3141, allocations: 0.6562 kB / 401.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3142, allocations: 126.5 kB / 401.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3142, allocations: 0 / 401.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.3142, allocations: 2.938 kB / 401.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3142, allocations: 0 / 401.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3142, allocations: 5.062 kB / 401.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3142, allocations: 0.7031 kB / 401.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3142, allocations: 1.219 kB / 401.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3143, allocations: 80.28 kB / 402 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.3144, allocations: 14.78 kB / 402 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3144, allocations: 5.797 kB / 402 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.3145, allocations: 8.109 kB / 402 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.3145, allocations: 0.5625 kB / 402 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3145, allocations: 0 / 402 MB, free: 5.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.193e-05/0.3145, allocations: 120.5 kB / 402.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3145, allocations: 0 / 402.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.3148, allocations: 11.03 kB / 402.2 MB, free: 5.066 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0004097/0.3152, allocations: 188 kB / 402.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.829e-05/0.3152, allocations: 10.08 kB / 402.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3152, allocations: 1.375 kB / 402.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.3153, allocations: 10.86 kB / 402.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.3154, allocations: 13.11 kB / 402.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.3159, allocations: 315.4 kB / 402.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.447e-05/0.3159, allocations: 96.19 kB / 402.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.316, allocations: 8.406 kB / 402.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.316, allocations: 14.55 kB / 402.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.316, allocations: 0 / 402.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of Templates: time 0.004631/0.3206, allocations: 1.312 MB / 404.1 MB, free: 4.387 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.644000679254532]