Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008965/0.0008966, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001047, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.7 MB / 246.8 MB, free: 9.539 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000205/0.000205, allocations: 11.98 kB / 307.8 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09303, allocations: 51.52 MB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002113/0.0952, allocations: 1.223 MB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.09625, allocations: 466.9 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.09636, allocations: 4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.0964, allocations: 7.875 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.09649, allocations: 7.922 kB / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.09679, allocations: 19.98 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.0969, allocations: 39.84 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.09701, allocations: 12 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.09715, allocations: 23.92 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.09721, allocations: 19.92 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.09723, allocations: 0 / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.124e-05/0.09728, allocations: 4 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.09731, allocations: 7.922 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.09736, allocations: 37.64 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.09748, allocations: 39.81 kB / 361.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09749, allocations: 0 / 361.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0975, allocations: 0 / 361.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09757, allocations: 4 kB / 361.3 MB, free: 11.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004361/0.09801, allocations: 343.6 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.09806, allocations: 12.03 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.09812, allocations: 38.69 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.09825, allocations: 16.92 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.09844, allocations: 180.2 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.09846, allocations: 8.375 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.09848, allocations: 4.375 kB / 361.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.09883, allocations: 123.4 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.09886, allocations: 0 / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.09887, allocations: 3.938 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.09888, allocations: 4 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/0.09898, allocations: 23.98 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.09914, allocations: 161.7 kB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.09933, allocations: 74.53 kB / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.09941, allocations: 24.92 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.09943, allocations: 0 / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.09947, allocations: 34.5 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.305e-06/0.09948, allocations: 4 kB / 362.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002569/0.09974, allocations: 89.45 kB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.09981, allocations: 59.39 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.09992, allocations: 109.8 kB / 362.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.09995, allocations: 25.7 kB / 362.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.1, allocations: 84.14 kB / 362.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.1, allocations: 7.938 kB / 362.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1001, allocations: 13.72 kB / 362.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1002, allocations: 318.8 kB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.1003, allocations: 4 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.1003, allocations: 31.38 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.505e-05/0.1004, allocations: 27.44 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1004, allocations: 7.938 kB / 363.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.579e-05/0.1005, allocations: 61.56 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1005, allocations: 4 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1005, allocations: 0 / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1005, allocations: 0 / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.1006, allocations: 11.98 kB / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1006, allocations: 0 / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.1006, allocations: 7.906 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1007, allocations: 4.125 kB / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.865e-05/0.1008, allocations: 121.7 kB / 363.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1009, allocations: 65.62 kB / 363.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.1009, allocations: 7.891 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.101, allocations: 0 / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.101, allocations: 0 / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.101, allocations: 0 / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1011, allocations: 161.7 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1011, allocations: 4 kB / 363.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.1012, allocations: 11.94 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1012, allocations: 0 / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1012, allocations: 4 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1012, allocations: 0 / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1012, allocations: 384 / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.1014, allocations: 101 kB / 363.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.1015, allocations: 88.97 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1015, allocations: 0 / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.1015, allocations: 7.938 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-06/0.1016, allocations: 384 / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.1016, allocations: 8 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.1016, allocations: 83.27 kB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.1016, allocations: 0 / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001838/0.1018, allocations: 11.94 kB / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0004796/0.1023, allocations: 0.6357 MB / 364.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1024, allocations: 28.17 kB / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1025, allocations: 0 / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.1025, allocations: 0 / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1027, allocations: 31.92 kB / 364.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1038, allocations: 1.196 MB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1041, allocations: 0.6848 MB / 366.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.316e-05/0.1041, allocations: 0 / 366.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.1042, allocations: 15.44 kB / 366.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1042, allocations: 0 / 366.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.1152, allocations: 1.127 MB / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.1155, allocations: 221.8 kB / 367.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.732, allocations: 0 / 367.7 MB, free: 4.125 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches