Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3601, allocations: 50.53 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003147/0.3633, allocations: 1.554 MB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004351/0.3637, allocations: 139.5 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3638, allocations: 0 / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.532e-05/0.3639, allocations: 7.922 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.3641, allocations: 7.938 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3644, allocations: 31.91 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3645, allocations: 43.84 kB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3646, allocations: 11.98 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.3646, allocations: 15.92 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.3647, allocations: 7.938 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3647, allocations: 4 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3647, allocations: 4 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.3648, allocations: 15.92 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.3648, allocations: 27.81 kB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.365, allocations: 51.75 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.365, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.365, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.365, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004801/0.3655, allocations: 368.9 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3655, allocations: 8.031 kB / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3656, allocations: 42.75 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.3656, allocations: 8.844 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3659, allocations: 188.2 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3659, allocations: 12.31 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.3659, allocations: 384 / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3662, allocations: 113.6 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3663, allocations: 11.94 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3663, allocations: 7.875 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3663, allocations: 0 / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.3664, allocations: 19.98 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3667, allocations: 257.7 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3669, allocations: 146.2 kB / 411.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.367, allocations: 25.72 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.3671, allocations: 3.984 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3671, allocations: 34.56 kB / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3671, allocations: 0 / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002793/0.3674, allocations: 77.61 kB / 412 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.3675, allocations: 81.11 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3676, allocations: 130.1 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3676, allocations: 29.7 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.3677, allocations: 88.03 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3677, allocations: 7.984 kB / 412.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3677, allocations: 13.72 kB / 412.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3679, allocations: 323 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.3679, allocations: 7.984 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.368, allocations: 35.42 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.3681, allocations: 51.36 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3681, allocations: 3.938 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.3682, allocations: 69.47 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3682, allocations: 6.812 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3682, allocations: 0 / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3683, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.3683, allocations: 12.11 kB / 412.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3683, allocations: 4 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.3684, allocations: 4 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3684, allocations: 4 kB / 412.8 MB, free: 13.12 MB / 334.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 0.0001024/0.3685, allocations: 129.6 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.3686, allocations: 49.55 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.3686, allocations: 12.23 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3686, allocations: 0 / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3686, allocations: 0 / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3687, allocations: 4 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3688, allocations: 173.6 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3688, allocations: 3.938 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.3689, allocations: 8.328 kB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3689, allocations: 0 / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3689, allocations: 0 / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3689, allocations: 4 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3689, allocations: 0 / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3691, allocations: 188.1 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.3692, allocations: 89 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3692, allocations: 0 / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.3693, allocations: 7.984 kB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.3693, allocations: 4 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3693, allocations: 4 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.3694, allocations: 98.78 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3694, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3697, allocations: 12 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004649/0.3701, allocations: 0.6937 MB / 414.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3703, allocations: 31.97 kB / 414.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3703, allocations: 4 kB / 414.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.3703, allocations: 11.94 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3707, allocations: 26.23 kB / 414.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.372, allocations: 1.318 MB / 415.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3723, allocations: 0.6924 MB / 416.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.3724, allocations: 3.984 kB / 416.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3724, allocations: 19.44 kB / 416.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3724, allocations: 3.938 kB / 416.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.3909, allocations: 1.486 MB / 417.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.698, allocations: 14.72 kB / 417.9 MB, free: 7.875 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches