Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 109.9 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.772/1.772, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 47.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2836, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00282/0.2864, allocations: 1.484 MB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003986/0.2868, allocations: 147 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.2869, allocations: 1.062 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.287, allocations: 3.938 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.2871, allocations: 10.36 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.2874, allocations: 30.28 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.2875, allocations: 31.86 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.2876, allocations: 11.98 kB / 402 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.2876, allocations: 7.938 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.2877, allocations: 11.94 kB / 402 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2877, allocations: 8 kB / 402 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.2877, allocations: 0 / 402 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.2878, allocations: 15.92 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2878, allocations: 19.81 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2879, allocations: 47.81 kB / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2879, allocations: 0 / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2879, allocations: 3.938 kB / 402.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2879, allocations: 0 / 402.1 MB, free: 6.977 MB / 318.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.0004329/0.2884, allocations: 359.8 kB / 402.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2884, allocations: 16.03 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.2885, allocations: 30.75 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2885, allocations: 8.844 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2888, allocations: 200 kB / 402.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2888, allocations: 384 / 402.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2888, allocations: 4.375 kB / 402.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2891, allocations: 93.61 kB / 402.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2891, allocations: 3.938 kB / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2891, allocations: 0 / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2891, allocations: 4 kB / 402.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.2892, allocations: 15.92 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.2896, allocations: 261.8 kB / 403 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.445e-05/0.2897, allocations: 45.08 kB / 403.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.2898, allocations: 21.78 kB / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2898, allocations: 0 / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2898, allocations: 34.55 kB / 403.1 MB, free: 5.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 3.196e-06/0.2898, allocations: 7.984 kB / 403.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.2901, allocations: 61.53 kB / 403.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.2902, allocations: 77.11 kB / 403.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2903, allocations: 138.1 kB / 403.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2903, allocations: 25.7 kB / 403.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.2904, allocations: 84.14 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.2904, allocations: 4.25 kB / 403.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.2905, allocations: 29.56 kB / 403.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2906, allocations: 310.8 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.2906, allocations: 7.984 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.2907, allocations: 17.72 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.2908, allocations: 29.77 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2908, allocations: 3.938 kB / 403.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.2909, allocations: 57.61 kB / 404 MB, free: 4.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2909, allocations: 4 kB / 404 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2909, allocations: 0 / 404 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.291, allocations: 0 / 404 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.291, allocations: 4 kB / 404 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.291, allocations: 7.938 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.2911, allocations: 4.062 kB / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.2911, allocations: 0 / 404 MB, free: 4.766 MB / 318.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: 2 (step.y,sample1.y) * 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.093e-05/0.2912, allocations: 125.8 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.2913, allocations: 37.55 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.2913, allocations: 19.8 kB / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2913, allocations: 0 / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2913, allocations: 0 / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2913, allocations: 4 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2915, allocations: 165.6 kB / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2915, allocations: 4.031 kB / 404.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.2916, allocations: 7.984 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2916, allocations: 0 / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2916, allocations: 0 / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2916, allocations: 8 kB / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2916, allocations: 0 / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2918, allocations: 164.2 kB / 404.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.2918, allocations: 89.09 kB / 404.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2919, allocations: 0 / 404.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.2919, allocations: 7.984 kB / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.292, allocations: 0 / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.292, allocations: 0 / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.292, allocations: 103.3 kB / 404.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2921, allocations: 0 / 404.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2923, allocations: 4 kB / 404.7 MB, free: 3.934 MB / 318.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: 2 (step.y,sample1.y) * 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.0005052/0.2928, allocations: 0.6975 MB / 405.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.2929, allocations: 20.02 kB / 405.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2929, allocations: 4.062 kB / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.293, allocations: 8 kB / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2933, allocations: 19.19 kB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2946, allocations: 1.276 MB / 406.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2949, allocations: 0.6922 MB / 407.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.295, allocations: 0 / 407.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.295, allocations: 15.44 kB / 407.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.144e-06/0.295, allocations: 0 / 407.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.3165, allocations: 1.384 MB / 408.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.85, allocations: 14.64 kB / 408.9 MB, free: 15.8 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches