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.001255/0.001255, allocations: 107 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001419, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 64.14 kB / 306.6 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 50.54 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00374/0.1262, allocations: 1.562 MB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.1272, allocations: 474.8 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.1273, allocations: 0 / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.1275, allocations: 0 / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.1275, allocations: 7.938 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1279, allocations: 27.91 kB / 359.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.128, allocations: 35.92 kB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1281, allocations: 15.98 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1283, allocations: 27.86 kB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.1284, allocations: 19.92 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1284, allocations: 0 / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.1285, allocations: 8 kB / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1285, allocations: 11.92 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.1286, allocations: 11.94 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1287, allocations: 43.81 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1287, allocations: 4 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1287, allocations: 0 / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.1287, allocations: 3.938 kB / 359.3 MB, free: 12.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.0006025/0.1294, allocations: 355.6 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.1294, allocations: 8.031 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1295, allocations: 34.75 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.1296, allocations: 16.83 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.1298, allocations: 176.3 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1299, allocations: 4.375 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1299, allocations: 8.312 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.1303, allocations: 119.3 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1303, allocations: 0 / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1303, allocations: 0 / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1303, allocations: 4 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.1304, allocations: 27.97 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1306, allocations: 161.7 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1307, allocations: 58.48 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.1308, allocations: 20.89 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1308, allocations: 0 / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1309, allocations: 46.53 kB / 360.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1309, allocations: 0 / 360.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002731/0.1312, allocations: 69.67 kB / 360.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1312, allocations: 55.34 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1314, allocations: 117.8 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1314, allocations: 25.7 kB / 360.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.1314, allocations: 84.14 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.1315, allocations: 8 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1315, allocations: 17.7 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1316, allocations: 314.8 kB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.1317, allocations: 0 / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.1317, allocations: 31.8 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.1318, allocations: 39.38 kB / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1318, allocations: 0 / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.512e-05/0.1319, allocations: 61.47 kB / 361.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1319, allocations: 11.94 kB / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1319, allocations: 0 / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.1319, allocations: 128 / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.132, allocations: 15.94 kB / 361.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.132, allocations: 0 / 361.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.1321, allocations: 0 / 361.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1321, allocations: 4 kB / 361.2 MB, free: 9.91 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.564e-05/0.1322, allocations: 117.8 kB / 361.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1323, allocations: 65.52 kB / 361.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.1323, allocations: 7.906 kB / 361.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1323, allocations: 0 / 361.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.1324, allocations: 4 kB / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1324, allocations: 0 / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1325, allocations: 157.7 kB / 361.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1325, allocations: 11.94 kB / 361.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.369e-05/0.1326, allocations: 11.92 kB / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1326, allocations: 0 / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1326, allocations: 4 kB / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1326, allocations: 0 / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1326, allocations: 0 / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1328, allocations: 89.44 kB / 361.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.1329, allocations: 92.94 kB / 361.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1329, allocations: 7.969 kB / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.1329, allocations: 0 / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-06/0.1329, allocations: 4 kB / 361.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.133, allocations: 3.938 kB / 361.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.455e-05/0.133, allocations: 91.27 kB / 361.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.156e-06/0.133, allocations: 0 / 361.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001911/0.1332, allocations: 7.938 kB / 361.9 MB, free: 9.137 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.0004228/0.1336, allocations: 0.6202 MB / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1338, allocations: 27.92 kB / 362.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1338, allocations: 0.5312 kB / 362.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1338, allocations: 4 kB / 362.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1341, allocations: 31.95 kB / 362.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1351, allocations: 1.198 MB / 363.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1353, allocations: 0.6807 MB / 364.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.417e-05/0.1354, allocations: 0 / 364.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1354, allocations: 15.42 kB / 364.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1354, allocations: 0 / 364.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.1472, allocations: 1.223 MB / 365.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.1474, allocations: 215.1 kB / 365.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.247, allocations: 3.938 kB / 365.9 MB, free: 5.062 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