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.00173/0.00173, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002108/0.002108, allocations: 215.5 kB / 23.74 MB, free: 4.672 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.384/1.384, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001917/0.001917, allocations: 59.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.249, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00161/0.2506, allocations: 0.52 MB / 431.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2532, allocations: 1.956 MB / 433.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.2533, allocations: 0 / 433.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2557, allocations: 170.8 kB / 433.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.2557, allocations: 27.92 kB / 433.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2559, allocations: 51.23 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.256, allocations: 43.84 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.2561, allocations: 7.984 kB / 433.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.2562, allocations: 27.92 kB / 434 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.2562, allocations: 23.84 kB / 434 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2563, allocations: 4 kB / 434 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.041e-05/0.2563, allocations: 19.92 kB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.2564, allocations: 43.91 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2565, allocations: 47.72 kB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2567, allocations: 95.91 kB / 434.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2567, allocations: 4 kB / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2567, allocations: 0 / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2567, allocations: 0 / 434.2 MB, free: 3.66 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.0005847/0.2573, allocations: 411.2 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2573, allocations: 8.031 kB / 434.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.2573, allocations: 30.75 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.2574, allocations: 12.89 kB / 434.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.2576, allocations: 187.1 kB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2576, allocations: 8.375 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2577, allocations: 384 / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.2578, allocations: 78.05 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2578, allocations: 4 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2578, allocations: 0 / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2578, allocations: 0 / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.596e-05/0.2578, allocations: 4 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.2582, allocations: 180.7 kB / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.2582, allocations: 18.52 kB / 435.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.2582, allocations: 8.922 kB / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.2582, allocations: 0 / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.2583, allocations: 64.2 kB / 435.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2583, allocations: 11.94 kB / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.000152/0.2584, allocations: 53.53 kB / 435.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.2585, allocations: 154.2 kB / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.2588, allocations: 215.8 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2588, allocations: 25.7 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.2589, allocations: 112.1 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.2589, allocations: 7.938 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.2589, allocations: 21.7 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2591, allocations: 327 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.2591, allocations: 4 kB / 436.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.2592, allocations: 44.28 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.2592, allocations: 12.86 kB / 436.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2592, allocations: 0 / 436.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.63e-05/0.2593, allocations: 65.53 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2593, allocations: 4 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.2593, allocations: 4 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2593, allocations: 0 / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.473e-05/0.2593, allocations: 0 / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2593, allocations: 4 kB / 436.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.2594, allocations: 4 kB / 436.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.2594, allocations: 0 / 436.2 MB, free: 1.352 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.0001186/0.2596, allocations: 137.8 kB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.2596, allocations: 19.88 kB / 436.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.2596, allocations: 20.45 kB / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2596, allocations: 0 / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2596, allocations: 4 kB / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2596, allocations: 0 / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2598, allocations: 160.7 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2598, allocations: 0 / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.2599, allocations: 7.938 kB / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2599, allocations: 0 / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2599, allocations: 0 / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2599, allocations: 0 / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2599, allocations: 7.984 kB / 436.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.26, allocations: 80.98 kB / 436.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.2601, allocations: 39.91 kB / 436.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.2601, allocations: 3.938 kB / 436.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.2602, allocations: 8 kB / 436.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2602, allocations: 0 / 436.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2602, allocations: 4 kB / 436.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.2604, allocations: 173.5 kB / 436.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2604, allocations: 0 / 436.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.2606, allocations: 12 kB / 436.9 MB, free: 0.6172 MB / 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.0006689/0.2613, allocations: 0.6628 MB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.2613, allocations: 12 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2613, allocations: 0 / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.2614, allocations: 7.984 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2615, allocations: 16.91 kB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.2635, allocations: 1.795 MB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2638, allocations: 0.7123 MB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.2639, allocations: 40.56 kB / 440.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.264, allocations: 67.38 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.264, allocations: 0 / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.3047, allocations: 3.81 MB / 444 MB, free: 9.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.01, allocations: 10.56 kB / 444 MB, free: 9.426 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.427564116194844]