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.001118/0.001118, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.73 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09063, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002708/0.09338, allocations: 1.496 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003552/0.09376, allocations: 135.5 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.09385, allocations: 0 / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.09391, allocations: 3.938 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.09402, allocations: 15.94 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.09426, allocations: 31.89 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.09434, allocations: 27.92 kB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.09444, allocations: 11.98 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.09447, allocations: 11.94 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.09452, allocations: 23.84 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.09454, allocations: 4 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.09456, allocations: 0 / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.09461, allocations: 4 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.09464, allocations: 27.8 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.09473, allocations: 31.84 kB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09474, allocations: 0 / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09475, allocations: 4 kB / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.09476, allocations: 4 kB / 359.4 MB, free: 12.19 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.0003773/0.09515, allocations: 359.5 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.09519, allocations: 12.03 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.09524, allocations: 42.67 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.09527, allocations: 8.844 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.09544, allocations: 188.1 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-06/0.09545, allocations: 384 / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.09547, allocations: 4.375 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.09569, allocations: 93.61 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.09571, allocations: 3.938 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.09572, allocations: 0 / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.09573, allocations: 0 / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.09581, allocations: 15.98 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.09612, allocations: 261.7 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.09621, allocations: 53.08 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.09626, allocations: 13.78 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.09629, allocations: 3.938 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.09632, allocations: 46.55 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.09632, allocations: 0 / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.09654, allocations: 57.62 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.09659, allocations: 77.11 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.0967, allocations: 134.1 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.09672, allocations: 29.95 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.09678, allocations: 92.05 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.09679, allocations: 0 / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.09682, allocations: 13.72 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.09692, allocations: 318.8 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.09696, allocations: 4 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.09701, allocations: 21.7 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.0971, allocations: 29.72 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.09711, allocations: 3.938 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.09721, allocations: 53.67 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.09724, allocations: 4 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.09725, allocations: 4 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.09726, allocations: 3.938 kB / 361.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.09733, allocations: 8.062 kB / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.09734, allocations: 0 / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.09738, allocations: 7.906 kB / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.09739, allocations: 7.984 kB / 361.4 MB, free: 9.969 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 7.952e-05/0.09747, allocations: 121.7 kB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.09754, allocations: 33.7 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.09757, allocations: 15.81 kB / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.09758, allocations: 4 kB / 361.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.09759, allocations: 4.031 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.0976, allocations: 0 / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.09775, allocations: 161.6 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.09776, allocations: 0 / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.09781, allocations: 11.92 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.09782, allocations: 11.88 kB / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.09783, allocations: 0 / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.09784, allocations: 0 / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09784, allocations: 0 / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.09799, allocations: 164.2 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.09806, allocations: 92.94 kB / 362 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.09808, allocations: 4 kB / 362 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.09814, allocations: 3.984 kB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.09818, allocations: 8 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.09819, allocations: 0 / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.09825, allocations: 106 kB / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09826, allocations: 0 / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.09848, allocations: 0 / 362.1 MB, free: 9.137 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.0003854/0.09887, allocations: 0.6975 MB / 362.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.09901, allocations: 23.92 kB / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.09902, allocations: 0 / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.09906, allocations: 7.984 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.0994, allocations: 16.03 kB / 362.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1005, allocations: 1.268 MB / 364.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1008, allocations: 0.6885 MB / 364.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.025e-05/0.1008, allocations: 3.906 kB / 364.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.1009, allocations: 19.47 kB / 364.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1009, allocations: 0 / 364.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.1176, allocations: 1.349 MB / 366.2 MB, free: 5.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.261, allocations: 11.91 kB / 366.2 MB, free: 5.023 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