Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.00182/0.00182, allocations: 114 kB / 20.44 MB, free: 1.469 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.002317/0.002317, allocations: 211.4 kB / 23.74 MB, free: 4.695 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 59.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2463, allocations: 53.41 MB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003338/0.2497, allocations: 1.6 MB / 432.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2507, allocations: 0.5493 MB / 433.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.2508, allocations: 7.938 kB / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.2509, allocations: 3.938 kB / 433.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.251, allocations: 7.922 kB / 433.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.2513, allocations: 51.83 kB / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2514, allocations: 51.83 kB / 433.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.2515, allocations: 8 kB / 433.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2516, allocations: 31.86 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.2517, allocations: 23.86 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2517, allocations: 4 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.2518, allocations: 8 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.2518, allocations: 19.91 kB / 433.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.2518, allocations: 23.81 kB / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.252, allocations: 59.11 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.252, allocations: 0 / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.252, allocations: 0 / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.252, allocations: 0 / 433.6 MB, free: 4.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005139/0.2525, allocations: 307 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2526, allocations: 8.031 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.2526, allocations: 38.73 kB / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2527, allocations: 20.83 kB / 434 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.253, allocations: 137.1 kB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.253, allocations: 8.375 kB / 434.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2531, allocations: 384 / 434.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.2533, allocations: 125.1 kB / 434.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2534, allocations: 3.984 kB / 434.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2534, allocations: 0 / 434.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2534, allocations: 3.984 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.238e-05/0.2535, allocations: 27.86 kB / 434.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.2538, allocations: 240.8 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.254, allocations: 61.14 kB / 434.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.254, allocations: 29.77 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2541, allocations: 4 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2541, allocations: 30.56 kB / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2541, allocations: 0 / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.2544, allocations: 85.56 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.2544, allocations: 81.05 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2546, allocations: 138.3 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2546, allocations: 33.7 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.2547, allocations: 84.14 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2547, allocations: 7.953 kB / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.2547, allocations: 17.7 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2549, allocations: 322.8 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.2549, allocations: 11.92 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.255, allocations: 43.42 kB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.2551, allocations: 47.36 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2551, allocations: 0 / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001501/0.2552, allocations: 73.58 kB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2552, allocations: 4 kB / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2552, allocations: 0 / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2553, allocations: 4 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.2553, allocations: 7.984 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2553, allocations: 4 kB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.2554, allocations: 0 / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2554, allocations: 4 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.502e-05/0.2555, allocations: 129.8 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.2556, allocations: 45.66 kB / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.2556, allocations: 16.33 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2556, allocations: 0 / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2556, allocations: 0 / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2556, allocations: 4 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2558, allocations: 140.7 kB / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2558, allocations: 0 / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.2558, allocations: 11.98 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2558, allocations: 0 / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2559, allocations: 8 kB / 436 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2559, allocations: 0 / 436 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2559, allocations: 3.938 kB / 436 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.2561, allocations: 176.6 kB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.2561, allocations: 11.94 kB / 436.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2561, allocations: 7.938 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.2562, allocations: 8 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.2562, allocations: 7.938 kB / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2562, allocations: 3.984 kB / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.2563, allocations: 106 kB / 436.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2563, allocations: 0 / 436.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.2565, allocations: 8 kB / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.000532/0.2571, allocations: 0.7092 MB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.2572, allocations: 31.92 kB / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2572, allocations: 0 / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.2572, allocations: 7.984 kB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2576, allocations: 22.84 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2591, allocations: 1.376 MB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.2596, allocations: 0.6924 MB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.206e-05/0.2596, allocations: 4.109 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.2598, allocations: 15.44 kB / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2598, allocations: 0 / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.2884, allocations: 1.704 MB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 15.52 kB / 440.9 MB, free: 12.67 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.369136801920831]