Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.00133/0.00133, allocations: 114 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.001476/0.001476, allocations: 214.7 kB / 23.75 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.409/1.409, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2679, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003885/0.2717, allocations: 1.888 MB / 433.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2733, allocations: 0.7633 MB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2735, allocations: 7.938 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.2737, allocations: 19.8 kB / 433.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.2739, allocations: 27.73 kB / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.2746, allocations: 175.1 kB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.2749, allocations: 155.5 kB / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2751, allocations: 41.72 kB / 434.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.2753, allocations: 63.7 kB / 434.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2754, allocations: 63.7 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2755, allocations: 12 kB / 434.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.2756, allocations: 59.95 kB / 434.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.2757, allocations: 43.83 kB / 434.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.2758, allocations: 75.48 kB / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.2761, allocations: 207.5 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2761, allocations: 0 / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2761, allocations: 0 / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2761, allocations: 0 / 434.8 MB, free: 3.098 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008064/0.277, allocations: 401.6 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.277, allocations: 12.03 kB / 435.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.277, allocations: 42.75 kB / 435.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.2772, allocations: 36.72 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.2776, allocations: 187 kB / 435.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2776, allocations: 8.562 kB / 435.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2776, allocations: 11.94 kB / 435.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.2783, allocations: 333.5 kB / 435.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2783, allocations: 7.938 kB / 435.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2784, allocations: 4 kB / 435.8 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2784, allocations: 0 / 435.8 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.2786, allocations: 87.88 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.2791, allocations: 312.6 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.2795, allocations: 185 kB / 436.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.2797, allocations: 96.66 kB / 436.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/0.2802, allocations: 67.86 kB / 436.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2802, allocations: 34.56 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.2802, allocations: 0 / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006219/0.2808, allocations: 245.2 kB / 436.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.2809, allocations: 114.8 kB / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2811, allocations: 190.6 kB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2811, allocations: 25.7 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.2812, allocations: 108.6 kB / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.2813, allocations: 23.83 kB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.2813, allocations: 37.7 kB / 437.3 MB, free: 372 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2815, allocations: 331 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2816, allocations: 43.97 kB / 437.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.2818, allocations: 163.8 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.282, allocations: 204.1 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2821, allocations: 0 / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003598/0.2824, allocations: 217.1 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2824, allocations: 8.594 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2824, allocations: 8 kB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2825, allocations: 8 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2826, allocations: 43.91 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2826, allocations: 11.92 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2827, allocations: 19.89 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2828, allocations: 12 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001505/0.2829, allocations: 149.7 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.2832, allocations: 167.9 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.2836, allocations: 179.3 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.2836, allocations: 4 kB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2836, allocations: 0 / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2836, allocations: 3.984 kB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.2838, allocations: 204.5 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.2838, allocations: 8 kB / 439 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.284, allocations: 27.98 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.284, allocations: 4 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.284, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.284, allocations: 11.92 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.284, allocations: 0 / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.2844, allocations: 288.1 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.2845, allocations: 35.83 kB / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.2845, allocations: 11.98 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2846, allocations: 11.98 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.2847, allocations: 0 / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2847, allocations: 8 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.2848, allocations: 152 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2848, allocations: 0 / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.2852, allocations: 35.94 kB / 439.6 MB, free: 13.82 MB / 350.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001033/0.2862, allocations: 0.9238 MB / 440.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.2866, allocations: 138.7 kB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2866, allocations: 4 kB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.2866, allocations: 7.984 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.2872, allocations: 142.9 kB / 440.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.2897, allocations: 2.168 MB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.29, allocations: 0.7359 MB / 443.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.2901, allocations: 17.48 kB / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.2902, allocations: 43.42 kB / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2902, allocations: 0 / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.3228, allocations: 4.524 MB / 448.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11, allocations: 0 / 448.3 MB, free: 4.992 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.3983705539722]