Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001179, 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.001254/0.001254, 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.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3674, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003601/0.371, allocations: 1.699 MB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005313/0.3716, allocations: 163.4 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3718, allocations: 4 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.936e-05/0.3719, allocations: 11.86 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.372, allocations: 7.922 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3724, allocations: 47.81 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3725, allocations: 47.91 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3727, allocations: 39.98 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.3727, allocations: 19.86 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.3728, allocations: 27.86 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3729, allocations: 4 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.3729, allocations: 4 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.3729, allocations: 19.91 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.373, allocations: 35.75 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3732, allocations: 71.66 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3732, allocations: 0 / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3732, allocations: 4 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3732, allocations: 0 / 411 MB, free: 15.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006456/0.3739, allocations: 388.8 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3739, allocations: 8.031 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.374, allocations: 42.75 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3741, allocations: 12.75 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3744, allocations: 200.1 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3744, allocations: 8.375 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3745, allocations: 8.375 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3749, allocations: 158.3 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3749, allocations: 3.938 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.375, allocations: 4 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.375, allocations: 4 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3751, allocations: 39.91 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.3756, allocations: 365.8 kB / 412.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3759, allocations: 119.9 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.376, allocations: 54.62 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.376, allocations: 3.984 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3761, allocations: 38.56 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3761, allocations: 0 / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004202/0.3765, allocations: 117.5 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.3766, allocations: 114.8 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3767, allocations: 136.6 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3768, allocations: 25.95 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3768, allocations: 103.9 kB / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3769, allocations: 12.05 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3769, allocations: 25.72 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.377, allocations: 318.8 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.3771, allocations: 15.98 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.3772, allocations: 75.66 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.3773, allocations: 91.59 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3773, allocations: 3.938 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.3776, allocations: 109.5 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3776, allocations: 4 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.3776, allocations: 4 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3776, allocations: 4 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.3777, allocations: 19.98 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3777, allocations: 3.938 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.3778, allocations: 11.98 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3778, allocations: 8 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001055/0.3779, allocations: 125.8 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3781, allocations: 85.52 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.3781, allocations: 12.72 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3781, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3781, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3781, allocations: 7.984 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3784, allocations: 189.4 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3784, allocations: 0 / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.3785, allocations: 19.98 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3785, allocations: 4 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3785, allocations: 8 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3785, allocations: 0 / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3785, allocations: 0 / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.3789, allocations: 312.4 kB / 414.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.379, allocations: 104.9 kB / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.379, allocations: 4.078 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.3791, allocations: 11.92 kB / 414.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3792, allocations: 0 / 414.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3792, allocations: 8 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.3793, allocations: 107.2 kB / 414.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3793, allocations: 0 / 414.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.3796, allocations: 8 kB / 414.5 MB, free: 11.28 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006174/0.3802, allocations: 0.846 MB / 415.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3804, allocations: 63.84 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3804, allocations: 0 / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.3805, allocations: 4 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.381, allocations: 58.45 kB / 415.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3828, allocations: 1.586 MB / 417.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3832, allocations: 0.7041 MB / 417.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.3832, allocations: 0.6719 kB / 417.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.3833, allocations: 23.42 kB / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3833, allocations: 0 / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.4072, allocations: 1.899 MB / 419.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.394, allocations: 7.984 kB / 419.7 MB, free: 5.996 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches