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.00167/0.001669, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 64.05 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1127, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003735/0.1165, allocations: 1.49 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1176, allocations: 480.4 kB / 359.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.1177, allocations: 0 / 359.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.1178, allocations: 7.875 kB / 359.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.1179, allocations: 11.92 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1182, allocations: 35.89 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1183, allocations: 35.91 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1185, allocations: 8 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1186, allocations: 31.86 kB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1187, allocations: 11.94 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1188, allocations: 4 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.1188, allocations: 7.984 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.1188, allocations: 11.92 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1189, allocations: 11.94 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.119, allocations: 47.77 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.119, allocations: 0 / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.119, allocations: 0 / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1191, allocations: 0 / 359.8 MB, free: 11.82 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.0004716/0.1195, allocations: 355.6 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1196, allocations: 8.031 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1196, allocations: 34.75 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.1198, allocations: 16.83 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.12, allocations: 184.2 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.12, allocations: 384 / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.12, allocations: 4.375 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.1203, allocations: 119.3 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1204, allocations: 0 / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1204, allocations: 4 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1204, allocations: 4 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.1205, allocations: 23.92 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.1206, allocations: 161.7 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1208, allocations: 58.55 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.1209, allocations: 24.92 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1209, allocations: 0 / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1209, allocations: 38.5 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1209, allocations: 0 / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002259/0.1212, allocations: 77.61 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1212, allocations: 51.41 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.1213, allocations: 113.8 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1213, allocations: 25.7 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.1214, allocations: 92.12 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.1214, allocations: 3.938 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1214, allocations: 14.09 kB / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1215, allocations: 318.8 kB / 361.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.1216, allocations: 7.984 kB / 361.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.1216, allocations: 27.44 kB / 361.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.1216, allocations: 35.31 kB / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1216, allocations: 4 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.434e-05/0.1217, allocations: 69.69 kB / 361.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1218, allocations: 8 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1218, allocations: 0 / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1218, allocations: 0 / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.1219, allocations: 8 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1219, allocations: 0 / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.1219, allocations: 4 kB / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1219, allocations: 12.09 kB / 361.6 MB, free: 9.695 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.071e-05/0.122, allocations: 117.8 kB / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1222, allocations: 65.47 kB / 361.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.1222, allocations: 11.89 kB / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1222, allocations: 0 / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1222, allocations: 0 / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1222, allocations: 0 / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.1223, allocations: 157.7 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1223, allocations: 3.984 kB / 362 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.1224, allocations: 11.94 kB / 362 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1224, allocations: 4 kB / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1224, allocations: 0 / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1224, allocations: 0 / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1224, allocations: 0 / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1226, allocations: 89.05 kB / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.1227, allocations: 96.88 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1227, allocations: 4 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.1227, allocations: 4 kB / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-06/0.1227, allocations: 4 kB / 362.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1227, allocations: 0 / 362.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.882e-05/0.1228, allocations: 91.27 kB / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1228, allocations: 0 / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002/0.123, allocations: 7.938 kB / 362.3 MB, free: 8.93 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.0003922/0.1234, allocations: 0.6244 MB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1235, allocations: 23.92 kB / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1235, allocations: 7.938 kB / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.1235, allocations: 0 / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1238, allocations: 27.92 kB / 363 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.1247, allocations: 1.182 MB / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.1249, allocations: 0.6846 MB / 364.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.125, allocations: 7.984 kB / 364.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.125, allocations: 11.44 kB / 364.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.125, allocations: 0 / 364.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.1435, allocations: 1.299 MB / 366.2 MB, free: 5.004 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.746, allocations: 4.062 kB / 366.2 MB, free: 5 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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