Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008375/0.0008375, allocations: 93.14 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.001028/0.001028, allocations: 203.6 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.235/1.235, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001957/0.0001958, allocations: 7.984 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.08063, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001539/0.08221, allocations: 1.305 MB / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.08303, allocations: 0.5105 MB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.08311, allocations: 4 kB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.08315, allocations: 7.922 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.08326, allocations: 3.938 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.0835, allocations: 63.75 kB / 361.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.08358, allocations: 35.92 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.08367, allocations: 23.97 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.08377, allocations: 19.88 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.08383, allocations: 23.84 kB / 361.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.08384, allocations: 0 / 361.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.08389, allocations: 12 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.08393, allocations: 11.92 kB / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.08398, allocations: 45.52 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.08408, allocations: 59.78 kB / 361.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.08409, allocations: 4 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0841, allocations: 0 / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.08411, allocations: 0 / 361.5 MB, free: 11.05 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.000364/0.08447, allocations: 367.4 kB / 361.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.08451, allocations: 8.031 kB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.08455, allocations: 38.75 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.08467, allocations: 20.83 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.08483, allocations: 192.1 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.08484, allocations: 8.375 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.08486, allocations: 384 / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.08509, allocations: 129.1 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.08511, allocations: 4 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.08512, allocations: 0 / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.08513, allocations: 4 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.08522, allocations: 23.98 kB / 362.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.08547, allocations: 269.6 kB / 362.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.08566, allocations: 138.3 kB / 362.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.08573, allocations: 37.7 kB / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.08575, allocations: 0 / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.08578, allocations: 42.55 kB / 362.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.08578, allocations: 0 / 362.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.086, allocations: 85.52 kB / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.08605, allocations: 77.11 kB / 362.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.08615, allocations: 144.7 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.08618, allocations: 29.83 kB / 363.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.08622, allocations: 84.14 kB / 363.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.08623, allocations: 7.906 kB / 363.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.08626, allocations: 13.72 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.08635, allocations: 322.8 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.08639, allocations: 8 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.848e-05/0.08645, allocations: 39.42 kB / 363.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.279e-05/0.08654, allocations: 51.36 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.08656, allocations: 4 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.08669, allocations: 77.55 kB / 363.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.08671, allocations: 7.938 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.08672, allocations: 3.984 kB / 363.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.08673, allocations: 4 kB / 363.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.08679, allocations: 8 kB / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.0868, allocations: 128 / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.08685, allocations: 15.89 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.08686, allocations: 0 / 363.7 MB, free: 8.527 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.69e-05/0.08693, allocations: 126.8 kB / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.087, allocations: 49.62 kB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.08704, allocations: 12.25 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.08704, allocations: 0 / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.08705, allocations: 0 / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.08706, allocations: 3.984 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.0872, allocations: 185.4 kB / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.08721, allocations: 0 / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.08726, allocations: 8 kB / 364.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.08727, allocations: 0 / 364.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.08728, allocations: 4.312 kB / 364.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.08729, allocations: 4 kB / 364.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.0873, allocations: 0 / 364.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.08746, allocations: 184.2 kB / 364.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.08751, allocations: 89.09 kB / 364.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.08753, allocations: 4 kB / 364.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.0876, allocations: 4 kB / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.08763, allocations: 0 / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.08764, allocations: 4 kB / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.879e-05/0.0877, allocations: 109.8 kB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08771, allocations: 4 kB / 364.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.08792, allocations: 8 kB / 364.5 MB, free: 7.637 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.0003382/0.08826, allocations: 0.7053 MB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.08839, allocations: 39.97 kB / 365.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0884, allocations: 0 / 365.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.08844, allocations: 11.94 kB / 365.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.08875, allocations: 19.95 kB / 365.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.08981, allocations: 1.407 MB / 366.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.09001, allocations: 0.6887 MB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.09005, allocations: 4 kB / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.09009, allocations: 15.44 kB / 367.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.0901, allocations: 0 / 367.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/2.637, allocations: 1.336 MB / 368.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/2.637, allocations: 210 kB / 368.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/4.346, allocations: 0 / 368.9 MB, free: 3.121 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches