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.001421/0.001421, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 59.91 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3936, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003305/0.3969, allocations: 1.5 MB / 410.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004601/0.3974, allocations: 135.6 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.3975, allocations: 0 / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.3976, allocations: 7.922 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.3977, allocations: 3.938 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.398, allocations: 31.91 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.3981, allocations: 27.92 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3982, allocations: 11.97 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.3982, allocations: 11.94 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.3983, allocations: 23.86 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3983, allocations: 0 / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.3983, allocations: 7.938 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.3984, allocations: 8 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3984, allocations: 19.81 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3985, allocations: 43.81 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3985, allocations: 0 / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.45e-06/0.3986, allocations: 4 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3986, allocations: 3.938 kB / 410.6 MB, free: 15.71 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.0004757/0.3991, allocations: 360.9 kB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3991, allocations: 8.031 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.3992, allocations: 38.75 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.3992, allocations: 4.938 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3995, allocations: 188.1 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3995, allocations: 4.375 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3995, allocations: 4.375 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3998, allocations: 93.61 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3998, allocations: 7.922 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3998, allocations: 0 / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3998, allocations: 0 / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.3999, allocations: 27.86 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.4003, allocations: 249.8 kB / 411.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.4004, allocations: 53.08 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.4005, allocations: 13.78 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4005, allocations: 4 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4006, allocations: 42.55 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4006, allocations: 0 / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.4008, allocations: 61.53 kB / 411.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.4009, allocations: 77.11 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.4011, allocations: 141.3 kB / 411.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4011, allocations: 25.7 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.4012, allocations: 88.39 kB / 412 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.4012, allocations: 0 / 412 MB, free: 14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.4013, allocations: 17.62 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4014, allocations: 322.8 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.4014, allocations: 4 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.4015, allocations: 21.64 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.4016, allocations: 29.78 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4016, allocations: 3.938 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.4017, allocations: 53.61 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4017, allocations: 10.81 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4018, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4018, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.4019, allocations: 7.938 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4019, allocations: 4.062 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.4019, allocations: 4 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.4019, allocations: 3.984 kB / 412.5 MB, free: 13.5 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: 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.948e-05/0.402, allocations: 121.7 kB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.4021, allocations: 37.61 kB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.4021, allocations: 19.81 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4021, allocations: 3.938 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4021, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4022, allocations: 32 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.4023, allocations: 165.6 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4023, allocations: 7.938 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.4024, allocations: 7.984 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4024, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.4024, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4024, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4024, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.4026, allocations: 168.2 kB / 413 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.4026, allocations: 85.09 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.4027, allocations: 8 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.4027, allocations: 7.984 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.4028, allocations: 3.938 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.4028, allocations: 0 / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.4028, allocations: 103.3 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4028, allocations: 0 / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.4031, allocations: 8.031 kB / 413.2 MB, free: 12.66 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: 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.0003985/0.4035, allocations: 0.6859 MB / 413.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.4036, allocations: 23.95 kB / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4036, allocations: 0 / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.4036, allocations: 11.98 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.404, allocations: 12.03 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.4051, allocations: 1.28 MB / 415.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.4053, allocations: 0.6846 MB / 415.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.482e-05/0.4053, allocations: 4 kB / 415.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.4054, allocations: 11.44 kB / 416 MB, free: 9.797 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4054, allocations: 0 / 416 MB, free: 9.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.4224, allocations: 1.397 MB / 417.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.077, allocations: 15.41 kB / 417.4 MB, free: 8.527 MB / 334.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