Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 56.34 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 50.52 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004373/0.1159, allocations: 1.698 MB / 358.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1172, allocations: 0.5648 MB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1174, allocations: 4 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.903e-05/0.1175, allocations: 7.938 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1177, allocations: 7.938 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1181, allocations: 67.31 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1183, allocations: 55.78 kB / 359.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1184, allocations: 24.2 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1186, allocations: 23.88 kB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.1187, allocations: 35.78 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1187, allocations: 4 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.1188, allocations: 7.984 kB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.1189, allocations: 11.94 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.1189, allocations: 35.73 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1191, allocations: 63.73 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1191, allocations: 0 / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1191, allocations: 0 / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1191, allocations: 4 kB / 359.5 MB, free: 11.78 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006186/0.1198, allocations: 397.5 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1198, allocations: 8.031 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.1199, allocations: 38.75 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1201, allocations: 20.77 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1203, allocations: 215.5 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1204, allocations: 4.375 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1204, allocations: 4.375 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.1208, allocations: 142.8 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1208, allocations: 0 / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1208, allocations: 4 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1208, allocations: 0 / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.121, allocations: 31.92 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.1214, allocations: 291.4 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1215, allocations: 94.42 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1217, allocations: 43.42 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1217, allocations: 7.938 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1217, allocations: 38.56 kB / 360.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.083e-06/0.1217, allocations: 0 / 360.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003876/0.1221, allocations: 101.4 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.1222, allocations: 132.5 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1224, allocations: 150.8 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1224, allocations: 29.7 kB / 361.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.1225, allocations: 92.14 kB / 361.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1225, allocations: 7.984 kB / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.1226, allocations: 21.62 kB / 361.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1227, allocations: 322.8 kB / 361.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.1228, allocations: 15.94 kB / 361.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.1229, allocations: 53.14 kB / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.123, allocations: 65.08 kB / 361.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1231, allocations: 0 / 361.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002251/0.1233, allocations: 85.45 kB / 361.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1233, allocations: 11.94 kB / 361.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1233, allocations: 3.984 kB / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1234, allocations: 0 / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1235, allocations: 19.92 kB / 361.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1235, allocations: 192 / 361.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.1236, allocations: 8 kB / 361.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1236, allocations: 4 kB / 361.9 MB, free: 9.023 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001175/0.1237, allocations: 138.7 kB / 362 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.1239, allocations: 61.53 kB / 362.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1239, allocations: 19.83 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1239, allocations: 0 / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1239, allocations: 4 kB / 362.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.124, allocations: 4.094 kB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1242, allocations: 177.6 kB / 362.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1242, allocations: 0 / 362.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.1243, allocations: 15.98 kB / 362.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.1243, allocations: 0 / 362.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1244, allocations: 7.938 kB / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1244, allocations: 0 / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1244, allocations: 0 / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1246, allocations: 198 kB / 362.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.1247, allocations: 104.9 kB / 362.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1248, allocations: 0 / 362.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1249, allocations: 4 kB / 362.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1249, allocations: 0 / 362.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1249, allocations: 4 kB / 362.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1251, allocations: 130.4 kB / 362.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1251, allocations: 0 / 362.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1254, allocations: 8 kB / 362.8 MB, free: 8.055 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005646/0.126, allocations: 0.7346 MB / 363.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1262, allocations: 43.86 kB / 363.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1262, allocations: 0 / 363.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.1263, allocations: 11.98 kB / 363.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.1269, allocations: 32.66 kB / 363.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1289, allocations: 1.53 MB / 365.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1292, allocations: 0.7005 MB / 365.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.1293, allocations: 4.656 kB / 365.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.1293, allocations: 23.44 kB / 365.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1293, allocations: 0 / 365.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.1451, allocations: 1.848 MB / 367.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.1454, allocations: 220.1 kB / 367.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.045, allocations: 0 / 367.9 MB, free: 2.797 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches