Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008915/0.0008915, allocations: 95.73 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8.172 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09241, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001498/0.09395, allocations: 1.223 MB / 360.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000311/0.09428, allocations: 135.6 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.09437, allocations: 3.938 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.0944, allocations: 0 / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.09451, allocations: 7.938 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.09473, allocations: 31.95 kB / 360.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.09481, allocations: 27.92 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.0949, allocations: 4 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.09493, allocations: 15.92 kB / 360.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.09497, allocations: 15.88 kB / 360.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.095, allocations: 0 / 360.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.09501, allocations: 7.938 kB / 360.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.09506, allocations: 7.984 kB / 360.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.0951, allocations: 45.5 kB / 360.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.09518, allocations: 39.83 kB / 360.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09518, allocations: 0 / 360.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09519, allocations: 0 / 360.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.0952, allocations: 0 / 360.9 MB, free: 11.62 MB / 302.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.0003485/0.09555, allocations: 355.6 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.09559, allocations: 8.031 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.09563, allocations: 34.75 kB / 361.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.09566, allocations: 8.844 kB / 361.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.09582, allocations: 192 kB / 361.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.09584, allocations: 8.375 kB / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.09585, allocations: 384 / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.09607, allocations: 97.59 kB / 361.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.09608, allocations: 3.938 kB / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.0961, allocations: 0 / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.0961, allocations: 0 / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.09618, allocations: 23.92 kB / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.09645, allocations: 257.8 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.09655, allocations: 45.09 kB / 361.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.0966, allocations: 25.77 kB / 362 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.09663, allocations: 7.938 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.09666, allocations: 34.56 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.09666, allocations: 0 / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.09688, allocations: 69.52 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.09693, allocations: 81.36 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.09704, allocations: 136.2 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.09706, allocations: 25.7 kB / 362.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.0971, allocations: 84.14 kB / 362.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.09712, allocations: 4 kB / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.09714, allocations: 13.7 kB / 362.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.09723, allocations: 314.8 kB / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.09727, allocations: 15.94 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.09732, allocations: 21.7 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.09739, allocations: 29.7 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.0974, allocations: 3.938 kB / 362.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.09752, allocations: 65.59 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.09754, allocations: 4 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.09755, allocations: 0 / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.09756, allocations: 0 / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.09762, allocations: 15.98 kB / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.09763, allocations: 0 / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.09767, allocations: 4.062 kB / 362.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.09768, allocations: 4 kB / 362.9 MB, free: 9.387 MB / 302.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 6.743e-05/0.09775, allocations: 117.7 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.09781, allocations: 45.62 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.09784, allocations: 7.828 kB / 363 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.09785, allocations: 4 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.09786, allocations: 0 / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.09786, allocations: 0 / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.09801, allocations: 169.6 kB / 363.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.09802, allocations: 4.031 kB / 363.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.09806, allocations: 11.94 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.09807, allocations: 0 / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.09809, allocations: 3.984 kB / 363.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.09809, allocations: 7.922 kB / 363.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0981, allocations: 0 / 363.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.09825, allocations: 176.2 kB / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.09831, allocations: 92.94 kB / 363.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.09832, allocations: 0 / 363.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.09838, allocations: 4 kB / 363.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.09841, allocations: 0 / 363.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.09842, allocations: 0 / 363.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.09848, allocations: 107.2 kB / 363.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09849, allocations: 0 / 363.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.0987, allocations: 8.031 kB / 363.6 MB, free: 8.535 MB / 302.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.0003556/0.09906, allocations: 0.6964 MB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.09918, allocations: 27.94 kB / 364.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09919, allocations: 0 / 364.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.09923, allocations: 11.98 kB / 364.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.09953, allocations: 20.02 kB / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1005, allocations: 1.282 MB / 365.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1008, allocations: 0.6887 MB / 366.3 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.114e-05/0.1008, allocations: 8.156 kB / 366.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.1008, allocations: 7.438 kB / 366.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1008, allocations: 0 / 366.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.1109, allocations: 1.162 MB / 367.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.1112, allocations: 222 kB / 367.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.77, allocations: 0 / 367.7 MB, free: 4.398 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches