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.0008604/0.0008605, allocations: 97.36 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.0009586/0.0009586, allocations: 201 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.315/1.315, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002555, allocations: 11.94 kB / 307.8 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09842, allocations: 51.51 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001849/0.1003, allocations: 1.412 MB / 360.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.1007, allocations: 159.5 kB / 360.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.1008, allocations: 7.875 kB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.1009, allocations: 7.922 kB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.101, allocations: 8 kB / 360.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1013, allocations: 39.91 kB / 361 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.1014, allocations: 47.91 kB / 361 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.1015, allocations: 27.97 kB / 361.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.1015, allocations: 23.86 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.1016, allocations: 23.8 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1016, allocations: 4 kB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.1016, allocations: 0 / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.1016, allocations: 15.92 kB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.1017, allocations: 57.45 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.1018, allocations: 59.7 kB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1018, allocations: 0 / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1018, allocations: 0 / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1018, allocations: 0 / 361.2 MB, free: 11.3 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003977/0.1022, allocations: 379.5 kB / 361.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1023, allocations: 8.031 kB / 361.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.1023, allocations: 42.73 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.1023, allocations: 8.844 kB / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1025, allocations: 202.9 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1025, allocations: 4.375 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1025, allocations: 8.375 kB / 361.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1029, allocations: 162.4 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1029, allocations: 3.938 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1029, allocations: 4 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1029, allocations: 0 / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.103, allocations: 47.91 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.1034, allocations: 369.7 kB / 362.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1036, allocations: 123.9 kB / 362.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.1037, allocations: 58.61 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1037, allocations: 0 / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1038, allocations: 38.56 kB / 362.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.1038, allocations: 0 / 362.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003209/0.1041, allocations: 129.6 kB / 362.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1042, allocations: 114.8 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1043, allocations: 138.1 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1043, allocations: 25.7 kB / 363.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1043, allocations: 92.12 kB / 363.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1044, allocations: 7.906 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.1044, allocations: 17.72 kB / 363.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.1045, allocations: 322.8 kB / 363.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/0.1045, allocations: 19.92 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.1046, allocations: 79.66 kB / 363.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1047, allocations: 91.59 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1048, allocations: 4 kB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1049, allocations: 109.4 kB / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.105, allocations: 11.98 kB / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.105, allocations: 0 / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.105, allocations: 4 kB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.1051, allocations: 20.28 kB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1051, allocations: 11.92 kB / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.1051, allocations: 8 kB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1051, allocations: 4 kB / 363.9 MB, free: 8.336 MB / 302.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 8.084e-05/0.1052, allocations: 134.8 kB / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1054, allocations: 81.44 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.1054, allocations: 12.7 kB / 364.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1054, allocations: 4 kB / 364.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1054, allocations: 4 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1054, allocations: 3.938 kB / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1056, allocations: 189.6 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1056, allocations: 0 / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.1057, allocations: 19.98 kB / 364.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1057, allocations: 0 / 364.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1057, allocations: 4 kB / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1057, allocations: 0 / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1057, allocations: 0 / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1061, allocations: 320.2 kB / 364.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.1062, allocations: 100.9 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1062, allocations: 4 kB / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.1063, allocations: 8 kB / 364.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.1063, allocations: 288 / 364.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.1063, allocations: 8 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.1064, allocations: 109.9 kB / 364.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1064, allocations: 3.938 kB / 364.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1067, allocations: 11.94 kB / 364.9 MB, free: 7.234 MB / 302.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.0005098/0.1072, allocations: 0.8576 MB / 365.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.1073, allocations: 63.84 kB / 365.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1074, allocations: 4 kB / 365.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.1074, allocations: 8 kB / 365.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1078, allocations: 50.12 kB / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1091, allocations: 1.608 MB / 367.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1094, allocations: 0.7043 MB / 368.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.1094, allocations: 4.797 kB / 368.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.1095, allocations: 23.42 kB / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1095, allocations: 0 / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.1201, allocations: 1.602 MB / 369.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.1203, allocations: 206.4 kB / 370 MB, free: 1.992 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.822, allocations: 4 kB / 370 MB, free: 1.988 MB / 302.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