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.001393/0.001393, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001368, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2906, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002826/0.2935, allocations: 1.51 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003768/0.2939, allocations: 135.5 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.294, allocations: 4 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.294, allocations: 3.938 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2942, allocations: 3.938 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.2944, allocations: 43.89 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.2945, allocations: 27.92 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.2946, allocations: 8 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.2946, allocations: 15.92 kB / 410.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.2947, allocations: 15.86 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2947, allocations: 0 / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2947, allocations: 4 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.2948, allocations: 8 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.2948, allocations: 19.8 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.295, allocations: 46.78 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.295, allocations: 0 / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.295, allocations: 0 / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.295, allocations: 0 / 410.6 MB, free: 15.65 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.0004785/0.2955, allocations: 367.2 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2955, allocations: 11.97 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.2956, allocations: 34.73 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2956, allocations: 8.891 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2958, allocations: 192.3 kB / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2958, allocations: 384 / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2959, allocations: 384 / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2961, allocations: 93.61 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2961, allocations: 3.938 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.2961, allocations: 0 / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2962, allocations: 4 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.2962, allocations: 15.92 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.2966, allocations: 265.7 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.2967, allocations: 45.16 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.2967, allocations: 25.7 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2967, allocations: 0 / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2968, allocations: 30.56 kB / 411.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2968, allocations: 4 kB / 411.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002301/0.297, allocations: 61.83 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.2971, allocations: 85.14 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2972, allocations: 130.1 kB / 412 MB, free: 14.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2973, allocations: 25.7 kB / 412 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.2973, allocations: 88.14 kB / 412.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.2973, allocations: 0 / 412.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.2974, allocations: 17.72 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2975, allocations: 314.8 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.2976, allocations: 12 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.2976, allocations: 21.7 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.2977, allocations: 29.64 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2977, allocations: 3.938 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.2978, allocations: 57.64 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2978, allocations: 4 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2979, allocations: 4 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2979, allocations: 0 / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.2979, allocations: 4 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.298, allocations: 3.984 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.298, allocations: 8 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.298, allocations: 0 / 412.6 MB, free: 13.43 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.926e-05/0.2981, allocations: 121.8 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.2982, allocations: 49.62 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.2982, allocations: 7.828 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2982, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2982, allocations: 0 / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2982, allocations: 3.938 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2984, allocations: 173.5 kB / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2985, allocations: 3.938 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.2985, allocations: 7.938 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2985, allocations: 4 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2985, allocations: 4.031 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2985, allocations: 0 / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2985, allocations: 0 / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2987, allocations: 156.3 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.2988, allocations: 97.05 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2988, allocations: 0 / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.2989, allocations: 4.031 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.2989, allocations: 4 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2989, allocations: 0 / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.299, allocations: 114.4 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.299, allocations: 0 / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.2992, allocations: 0 / 413.3 MB, free: 12.59 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.0004989/0.2997, allocations: 0.6898 MB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.2999, allocations: 23.92 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2999, allocations: 0 / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.2999, allocations: 7.984 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3003, allocations: 16.25 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3016, allocations: 1.268 MB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3019, allocations: 0.6846 MB / 416 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.302, allocations: 4.125 kB / 416 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.302, allocations: 23.36 kB / 416 MB, free: 9.723 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.302, allocations: 0 / 416 MB, free: 9.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.3239, allocations: 1.385 MB / 417.4 MB, free: 8.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.199, allocations: 3.859 kB / 417.4 MB, free: 8.473 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.1.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