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.001825/0.001825, allocations: 112.2 kB / 17.06 MB, free: 5.773 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.002525/0.002526, allocations: 199 kB / 18 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.684/2.684, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 47.91 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.541, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004207/0.5452, allocations: 1.496 MB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.5458, allocations: 135.8 kB / 401.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.546, allocations: 1.438 kB / 401.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.5461, allocations: 3.938 kB / 401.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.5463, allocations: 18.34 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.5468, allocations: 29.67 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.5469, allocations: 30.94 kB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.547, allocations: 17.39 kB / 402 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.5471, allocations: 11.09 kB / 402 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.5472, allocations: 15.12 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.5472, allocations: 2.156 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.5472, allocations: 2.031 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.5473, allocations: 11.27 kB / 402 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.5474, allocations: 19.81 kB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.5475, allocations: 47.81 kB / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5475, allocations: 0 / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5476, allocations: 0 / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5476, allocations: 4 kB / 402.1 MB, free: 7.004 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.0007289/0.5483, allocations: 361 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.5484, allocations: 8.031 kB / 402.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.5484, allocations: 30.75 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.5485, allocations: 8.844 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.5489, allocations: 200 kB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.549, allocations: 384 / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.549, allocations: 384 / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.5493, allocations: 97.61 kB / 402.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5493, allocations: 3.938 kB / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5494, allocations: 0 / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5494, allocations: 0 / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.413e-05/0.5495, allocations: 11.98 kB / 402.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.55, allocations: 257.8 kB / 403 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.5501, allocations: 53.02 kB / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.5501, allocations: 17.78 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.5502, allocations: 0 / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.5502, allocations: 42.48 kB / 403.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5502, allocations: 4 kB / 403.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002805/0.5505, allocations: 57.59 kB / 403.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.5506, allocations: 81.05 kB / 403.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.5508, allocations: 134.3 kB / 403.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.5508, allocations: 29.7 kB / 403.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.5509, allocations: 88.14 kB / 403.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.5509, allocations: 3.984 kB / 403.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.5509, allocations: 21.62 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5511, allocations: 310.8 kB / 403.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.5511, allocations: 7.984 kB / 403.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.5512, allocations: 25.72 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.5512, allocations: 21.7 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5513, allocations: 3.938 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00012/0.5514, allocations: 57.61 kB / 404 MB, free: 4.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5514, allocations: 7.938 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5514, allocations: 4 kB / 404 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.5515, allocations: 4.125 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.5515, allocations: 4 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5515, allocations: 0 / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.5516, allocations: 7.984 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5516, allocations: 0 / 404 MB, free: 4.797 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 0.0001063/0.5517, allocations: 125.7 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.5518, allocations: 37.61 kB / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.5519, allocations: 11.86 kB / 404.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5519, allocations: 8.031 kB / 404.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5519, allocations: 4 kB / 404.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5519, allocations: 0 / 404.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.5521, allocations: 165.6 kB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.5521, allocations: 0 / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.5521, allocations: 7.984 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5522, allocations: 7.938 kB / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5522, allocations: 0 / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5522, allocations: 0 / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5522, allocations: 0 / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.5524, allocations: 164.2 kB / 404.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.5524, allocations: 89.09 kB / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.5525, allocations: 4 kB / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.5525, allocations: 3.984 kB / 404.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.5526, allocations: 4 kB / 404.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5526, allocations: 0 / 404.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.632e-05/0.5527, allocations: 110.5 kB / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5527, allocations: 0 / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.5529, allocations: 0 / 404.7 MB, free: 3.965 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.0005878/0.5535, allocations: 0.7014 MB / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.5537, allocations: 15.98 kB / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5537, allocations: 0 / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.5537, allocations: 19.92 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.5541, allocations: 8.812 kB / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.5557, allocations: 1.276 MB / 406.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.5561, allocations: 0.6883 MB / 407.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.5562, allocations: 4 kB / 407.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.5563, allocations: 11.38 kB / 407.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5563, allocations: 0 / 407.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.5802, allocations: 1.392 MB / 408.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.58, allocations: 15.73 kB / 408.8 MB, free: 15.83 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