Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.00134/0.00134, 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.001468/0.001468, allocations: 207.5 kB / 23.73 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003332/0.2847, allocations: 1.569 MB / 432.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2859, allocations: 0.4909 MB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.286, allocations: 3.938 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.587e-05/0.286, allocations: 3.938 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.2862, allocations: 7.938 kB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.2866, allocations: 55.81 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2867, allocations: 43.84 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2868, allocations: 7.938 kB / 433.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.287, allocations: 31.92 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.287, allocations: 11.92 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2871, allocations: 3.938 kB / 433.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.436e-05/0.2871, allocations: 8 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.2872, allocations: 19.91 kB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2872, allocations: 15.88 kB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2873, allocations: 53.44 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2874, allocations: 4 kB / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2874, allocations: 0 / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.2874, allocations: 0 / 433.5 MB, free: 4.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005362/0.2879, allocations: 298 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.288, allocations: 15.98 kB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.288, allocations: 34.75 kB / 433.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.2882, allocations: 20.81 kB / 433.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.2885, allocations: 133.1 kB / 434 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2885, allocations: 12.38 kB / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2885, allocations: 4.312 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.2888, allocations: 97.22 kB / 434.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2888, allocations: 0 / 434.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2888, allocations: 3.984 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2888, allocations: 0 / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.2889, allocations: 23.92 kB / 434.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.2893, allocations: 232.8 kB / 434.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2894, allocations: 49.16 kB / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.2895, allocations: 17.77 kB / 434.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2895, allocations: 0 / 434.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2896, allocations: 34.56 kB / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2896, allocations: 0 / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002766/0.2898, allocations: 69.56 kB / 434.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.2899, allocations: 81.36 kB / 434.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2901, allocations: 138.2 kB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2901, allocations: 29.64 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.2902, allocations: 92.12 kB / 434.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.2902, allocations: 0 / 434.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.2903, allocations: 21.67 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2904, allocations: 318.8 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.2904, allocations: 11.94 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.2905, allocations: 21.7 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.395e-05/0.2906, allocations: 29.78 kB / 435.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2906, allocations: 3.984 kB / 435.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000124/0.2907, allocations: 53.62 kB / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2907, allocations: 4 kB / 435.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2907, allocations: 4 kB / 435.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2907, allocations: 0 / 435.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.2908, allocations: 4 kB / 435.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2908, allocations: 3.984 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.2908, allocations: 8.062 kB / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.2909, allocations: 0 / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.613e-05/0.291, allocations: 117.8 kB / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.291, allocations: 45.58 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.2911, allocations: 15.77 kB / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2911, allocations: 0 / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2911, allocations: 0 / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2911, allocations: 0 / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2912, allocations: 148.6 kB / 435.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2912, allocations: 3.938 kB / 435.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.2913, allocations: 8.031 kB / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2913, allocations: 0 / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2913, allocations: 0 / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2913, allocations: 4 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2913, allocations: 0 / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2915, allocations: 164.2 kB / 435.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2915, allocations: 19.92 kB / 435.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.2915, allocations: 4 kB / 435.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.2916, allocations: 4 kB / 435.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.2916, allocations: 4.031 kB / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2916, allocations: 4 kB / 435.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.2917, allocations: 110 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2917, allocations: 0 / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.292, allocations: 8 kB / 436 MB, free: 1.309 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 (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 Backend phase and start with SimCode phase: time 0.0004833/0.2924, allocations: 0.6936 MB / 436.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.2926, allocations: 20.08 kB / 436.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2926, allocations: 3.938 kB / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.2926, allocations: 15.98 kB / 436.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2929, allocations: 11.97 kB / 436.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2943, allocations: 1.308 MB / 438 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.129e-05/0.2944, allocations: 83.56 kB / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.2944, allocations: 3.984 kB / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.2945, allocations: 19.44 kB / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2945, allocations: 0 / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.3252, allocations: 2.024 MB / 440.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.1, allocations: 0 / 440.1 MB, free: 13.1 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.581247536931187]