Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.001367/0.001367, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001474/0.001474, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 7.746 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: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00318/0.00318, allocations: 64.14 kB / 377.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2755, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001636/0.2771, allocations: 0.527 MB / 431.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2795, allocations: 1.914 MB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.2796, allocations: 0 / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.2828, allocations: 152.1 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.2829, allocations: 31.91 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.2831, allocations: 47.8 kB / 433.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.2832, allocations: 39.91 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2832, allocations: 4 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.2833, allocations: 31.91 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.2834, allocations: 27.8 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.2834, allocations: 0 / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.2834, allocations: 23.97 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.2835, allocations: 43.91 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.2836, allocations: 39.72 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.2839, allocations: 101.2 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2839, allocations: 0 / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2839, allocations: 0 / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.2839, allocations: 0 / 434.1 MB, free: 3.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005806/0.2845, allocations: 411.2 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2845, allocations: 15.98 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.2846, allocations: 30.75 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.2846, allocations: 16.89 kB / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.2849, allocations: 183.1 kB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.2849, allocations: 4.359 kB / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2849, allocations: 384 / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2851, allocations: 180.9 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2851, allocations: 7.938 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.2851, allocations: 0 / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2851, allocations: 0 / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.2851, allocations: 4 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.2855, allocations: 176.7 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.2855, allocations: 26.52 kB / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.2855, allocations: 4.859 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-06/0.2855, allocations: 0 / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.2856, allocations: 68.27 kB / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.2856, allocations: 0 / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.2857, allocations: 49.59 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.2858, allocations: 166.1 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.286, allocations: 219.8 kB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2861, allocations: 25.7 kB / 435.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2861, allocations: 112.1 kB / 435.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.2861, allocations: 4.125 kB / 435.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.2862, allocations: 21.72 kB / 435.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2863, allocations: 322.8 kB / 436.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.2863, allocations: 8 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.2864, allocations: 139.1 kB / 436.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.2865, allocations: 16.86 kB / 436.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2865, allocations: 0 / 436.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.705e-05/0.2866, allocations: 61.47 kB / 436.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2866, allocations: 4 kB / 436.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2866, allocations: 8.094 kB / 436.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2866, allocations: 4 kB / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/0.2866, allocations: 0 / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2866, allocations: 0 / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.2867, allocations: 12 kB / 436.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.2867, allocations: 3.984 kB / 436.3 MB, free: 0.9453 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 (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 0.0001069/0.2868, allocations: 130.5 kB / 436.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.2869, allocations: 15.84 kB / 436.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.2869, allocations: 24.44 kB / 436.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2869, allocations: 0 / 436.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2869, allocations: 8 kB / 436.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2869, allocations: 0 / 436.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2871, allocations: 160.7 kB / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2871, allocations: 0 / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.2871, allocations: 7.938 kB / 436.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2871, allocations: 0 / 436.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2872, allocations: 3.984 kB / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2872, allocations: 0 / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2872, allocations: 0 / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.2873, allocations: 84.97 kB / 436.8 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.2874, allocations: 35.98 kB / 436.8 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2874, allocations: 0 / 436.8 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.2875, allocations: 8 kB / 436.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2875, allocations: 0 / 436.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2875, allocations: 3.984 kB / 436.8 MB, free: 412 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.2877, allocations: 165.5 kB / 437 MB, free: 248 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2877, allocations: 0 / 437 MB, free: 248 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000208/0.2879, allocations: 12 kB / 437 MB, free: 236 kB / 334.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.00069/0.2886, allocations: 0.6826 MB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.544e-05/0.2887, allocations: 12 kB / 437.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2887, allocations: 3.984 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.2887, allocations: 4 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.2888, allocations: 14.81 kB / 437.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.2908, allocations: 1.794 MB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.2909, allocations: 101 kB / 439.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.291, allocations: 32.58 kB / 439.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2911, allocations: 67.38 kB / 439.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2911, allocations: 0 / 439.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.3269, allocations: 4.315 MB / 444 MB, free: 9.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.11, allocations: 7.562 kB / 444 MB, free: 9.145 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.551661035045981]