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.0008608/0.0008608, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001397/0.001397, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9009/0.9009, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.148e-05, allocations: 6.844 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001065/0.001087, allocations: 0.5173 MB / 325 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.002755, allocations: 1.921 MB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.0028, allocations: 0 / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.004222, allocations: 155.8 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.004332, allocations: 27.91 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004543, allocations: 55.33 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.004634, allocations: 43.83 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.004675, allocations: 8 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.004765, allocations: 39.84 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.004842, allocations: 23.91 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.00486, allocations: 0 / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.821e-05/0.004908, allocations: 15.92 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.00499, allocations: 47.89 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.005034, allocations: 19.94 kB / 327.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005237, allocations: 99.66 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.005241, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.005243, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.005247, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 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.0004678/0.005715, allocations: 439.2 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.005759, allocations: 15.98 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.005784, allocations: 30.75 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.005826, allocations: 12.89 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.006006, allocations: 190.4 kB / 328.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.006014, allocations: 8.297 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.006031, allocations: 4.375 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.006175, allocations: 177.3 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.006181, allocations: 192 / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.006193, allocations: 8.125 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.006198, allocations: 4 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.006214, allocations: 4 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.006508, allocations: 172.8 kB / 328.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.00655, allocations: 18.52 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.006566, allocations: 16.89 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.006575, allocations: 0 / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.006611, allocations: 64.27 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.006611, allocations: 0 / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.006767, allocations: 61.53 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.006829, allocations: 158.2 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.006989, allocations: 219.9 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.007001, allocations: 25.7 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.007056, allocations: 116.1 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.007075, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.007106, allocations: 21.72 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.007201, allocations: 322.8 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.007215, allocations: 12.11 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.007279, allocations: 147 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.007308, allocations: 12.86 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.00731, allocations: 0 / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.745e-05/0.007378, allocations: 61.55 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00739, allocations: 4 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007395, allocations: 0 / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.00741, allocations: 7.922 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.922e-05/0.007439, allocations: 4 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007444, allocations: 4.094 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.007509, allocations: 8 kB / 329.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.007515, allocations: 4 kB / 329.8 MB, free: 10.34 MB / 298.7 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.92e-05/0.007584, allocations: 129.8 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.007604, allocations: 15.91 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.007632, allocations: 24.44 kB / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.007634, allocations: 3.938 kB / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007638, allocations: 0 / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.007641, allocations: 0 / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.007765, allocations: 160.7 kB / 330.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007766, allocations: 4 kB / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.007781, allocations: 4 kB / 330.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.007782, allocations: 3.938 kB / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.007788, allocations: 0 / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.007791, allocations: 3.938 kB / 330.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007792, allocations: 0 / 330.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.007892, allocations: 84.97 kB / 330.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.007935, allocations: 27.95 kB / 330.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.007954, allocations: 11.98 kB / 330.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.008002, allocations: 19.94 kB / 330.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.008013, allocations: 4.094 kB / 330.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.008014, allocations: 0 / 330.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.925e-05/0.008114, allocations: 173.4 kB / 330.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008114, allocations: 0 / 330.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.008261, allocations: 19.94 kB / 330.4 MB, free: 9.602 MB / 298.7 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.0004223/0.008683, allocations: 0.6653 MB / 331.1 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.008756, allocations: 15.92 kB / 331.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008758, allocations: 0 / 331.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.008763, allocations: 4 kB / 331.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.00889, allocations: 23.72 kB / 331.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.01023, allocations: 1.849 MB / 333 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.0103, allocations: 101.5 kB / 333.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01035, allocations: 36.58 kB / 333.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.01044, allocations: 76.44 kB / 333.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01044, allocations: 0 / 333.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.03047, allocations: 4.468 MB / 337.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/6.886, allocations: 8 kB / 337.7 MB, free: 2.297 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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: 8.58942486718297]