Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 91.86 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.000983, allocations: 182.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 11.98 kB / 301.5 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 50.41 MB / 351.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001778/0.1238, allocations: 1.213 MB / 353.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.1246, allocations: 415.8 kB / 353.6 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.1247, allocations: 0 / 353.6 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.1247, allocations: 7.938 kB / 353.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.1248, allocations: 3.984 kB / 353.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1251, allocations: 35.84 kB / 353.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.1252, allocations: 39.86 kB / 353.7 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1253, allocations: 11.94 kB / 353.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.1254, allocations: 11.92 kB / 353.7 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.1254, allocations: 15.94 kB / 353.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1255, allocations: 0 / 353.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.1255, allocations: 0 / 353.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1255, allocations: 7.984 kB / 353.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.1256, allocations: 45.56 kB / 353.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.1256, allocations: 31.89 kB / 353.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1257, allocations: 4 kB / 353.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1257, allocations: 0 / 353.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1257, allocations: 0 / 353.8 MB, free: 1.73 MB / 286.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.0004482/0.1261, allocations: 343.6 kB / 354.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1262, allocations: 15.97 kB / 354.1 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1262, allocations: 30.75 kB / 354.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.1263, allocations: 4.938 kB / 354.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1265, allocations: 184.2 kB / 354.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1265, allocations: 4.375 kB / 354.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1265, allocations: 4.375 kB / 354.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.1268, allocations: 127.4 kB / 354.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1268, allocations: 4 kB / 354.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1269, allocations: 3.984 kB / 354.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1269, allocations: 0 / 354.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.127, allocations: 23.98 kB / 354.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.1271, allocations: 165.6 kB / 354.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1273, allocations: 62.55 kB / 354.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.1274, allocations: 28.92 kB / 354.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1274, allocations: 0 / 354.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.1275, allocations: 34.5 kB / 354.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1275, allocations: 0 / 354.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002377/0.1277, allocations: 93.52 kB / 354.9 MB, free: 452 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1278, allocations: 51.41 kB / 354.9 MB, free: 388 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.1279, allocations: 121.8 kB / 355.1 MB, free: 256 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1279, allocations: 25.7 kB / 355.1 MB, free: 224 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1279, allocations: 80.14 kB / 355.2 MB, free: 140 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.1279, allocations: 4 kB / 355.2 MB, free: 136 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.128, allocations: 13.72 kB / 355.2 MB, free: 116 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1281, allocations: 314.8 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.1282, allocations: 7.984 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.1282, allocations: 27.44 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.1282, allocations: 39.38 kB / 355.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1282, allocations: 0 / 355.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.601e-05/0.1283, allocations: 61.5 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1284, allocations: 8 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1284, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1284, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.1284, allocations: 8 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1284, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.1285, allocations: 15.95 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1285, allocations: 8 kB / 355.7 MB, free: 15.59 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 7.557e-05/0.1286, allocations: 109.8 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1287, allocations: 65.56 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.1287, allocations: 15.89 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1288, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1288, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1288, allocations: 4 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.1289, allocations: 157.7 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1289, allocations: 4 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.1289, allocations: 11.94 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.129, allocations: 4 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.129, allocations: 0 / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.129, allocations: 0 / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.129, allocations: 0 / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1291, allocations: 97.33 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1292, allocations: 93.03 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1292, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.1293, allocations: 7.938 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.1293, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1293, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.1293, allocations: 95.58 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1293, allocations: 0 / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.1295, allocations: 8 kB / 356.3 MB, free: 14.82 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.0004059/0.1299, allocations: 0.6357 MB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1301, allocations: 31.92 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1301, allocations: 0 / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1301, allocations: 0 / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1303, allocations: 29.58 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1314, allocations: 1.2 MB / 358.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1317, allocations: 0.6848 MB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.286e-05/0.1317, allocations: 0 / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.1318, allocations: 15.55 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1318, allocations: 4 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.1427, allocations: 1.102 MB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.1429, allocations: 221.7 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.118, allocations: 7.234 kB / 360.2 MB, free: 10.85 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches