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.0008452/0.0008452, 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.0009605/0.0009605, allocations: 201.9 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.245/1.245, allocations: 227.7 MB / 246.8 MB, free: 9.566 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001942/0.0001942, allocations: 8 kB / 307.8 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08292, allocations: 51.53 MB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001442/0.0844, allocations: 1.27 MB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.0847, allocations: 139.6 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.08478, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.08482, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.08492, allocations: 11.92 kB / 360.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.08512, allocations: 35.91 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.0852, allocations: 35.8 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.08529, allocations: 15.98 kB / 360.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.08532, allocations: 19.92 kB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.08536, allocations: 7.922 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.08538, allocations: 4 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.08539, allocations: 0 / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.08543, allocations: 11.92 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.08548, allocations: 45.52 kB / 361 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.062e-05/0.08556, allocations: 47.8 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.08557, allocations: 4 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08557, allocations: 0 / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.08558, allocations: 0 / 361 MB, free: 11.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003517/0.08594, allocations: 359.5 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.08598, allocations: 8.031 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.08601, allocations: 34.75 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.08604, allocations: 8.844 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.08619, allocations: 188.2 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.0862, allocations: 384 / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.08622, allocations: 8.375 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.08646, allocations: 117.6 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.08647, allocations: 3.938 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.08649, allocations: 0 / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.0865, allocations: 3.984 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.08658, allocations: 27.92 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.08686, allocations: 253.8 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.08705, allocations: 146.2 kB / 362.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.08712, allocations: 33.7 kB / 362.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.08714, allocations: 4 kB / 362.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.08716, allocations: 34.55 kB / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.08717, allocations: 0 / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002835/0.08745, allocations: 85.52 kB / 362.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.08752, allocations: 85.11 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.08763, allocations: 128.8 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.08765, allocations: 25.7 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.08769, allocations: 92.08 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.08771, allocations: 11.84 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.08774, allocations: 17.77 kB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.08784, allocations: 314.8 kB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.08789, allocations: 15.98 kB / 363 MB, free: 9.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.08794, allocations: 27.44 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.08803, allocations: 55.36 kB / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.08804, allocations: 3.938 kB / 363.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.08816, allocations: 73.64 kB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.08818, allocations: 4 kB / 363.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.08819, allocations: 4.281 kB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.08821, allocations: 0 / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.08826, allocations: 8 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.08828, allocations: 11.92 kB / 363.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.08831, allocations: 4 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.08832, allocations: 4 kB / 363.2 MB, free: 8.832 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 6.632e-05/0.08839, allocations: 126.9 kB / 363.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.08846, allocations: 53.58 kB / 363.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.0885, allocations: 12.25 kB / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.0885, allocations: 0 / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.08851, allocations: 0 / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.08852, allocations: 0 / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.08866, allocations: 173.6 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.08867, allocations: 0 / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.08872, allocations: 11.98 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.08873, allocations: 0 / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.08874, allocations: 4 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.08875, allocations: 7.938 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.08875, allocations: 3.938 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.08891, allocations: 168.2 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.08897, allocations: 93 kB / 363.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.08899, allocations: 8 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.08904, allocations: 0 / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.08907, allocations: 4 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.08908, allocations: 0 / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.489e-05/0.08914, allocations: 107.2 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08915, allocations: 0 / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.08936, allocations: 4 kB / 363.9 MB, free: 7.961 MB / 302.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.0003629/0.08972, allocations: 0.7092 MB / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.08986, allocations: 40.11 kB / 364.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.08988, allocations: 0 / 364.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.08992, allocations: 11.98 kB / 364.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.09022, allocations: 22.19 kB / 364.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.09125, allocations: 1.352 MB / 366.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.09146, allocations: 0.6887 MB / 366.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.221e-05/0.09149, allocations: 4.234 kB / 366.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.09153, allocations: 19.44 kB / 366.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09153, allocations: 0 / 366.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.54/2.632, allocations: 1.246 MB / 368 MB, free: 3.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/2.632, allocations: 206.8 kB / 368.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/4.341, allocations: 0 / 368.2 MB, free: 3.582 MB / 302.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