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.001716/0.001716, 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.002144/0.002144, 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.4/1.4, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.94 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.105, allocations: 50.54 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003042/0.1081, allocations: 1.62 MB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000374/0.1085, allocations: 131.6 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.1086, allocations: 7.875 kB / 358.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.702e-05/0.1087, allocations: 7.922 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1088, allocations: 7.938 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1091, allocations: 31.91 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.1092, allocations: 31.92 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1093, allocations: 15.98 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1093, allocations: 19.92 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.1094, allocations: 15.88 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1094, allocations: 0 / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.1094, allocations: 0 / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1095, allocations: 11.98 kB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.1095, allocations: 27.8 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.1096, allocations: 35.83 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1096, allocations: 4 kB / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1096, allocations: 0 / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1096, allocations: 4 kB / 358.9 MB, free: 12.42 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.0005032/0.1102, allocations: 369.8 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1102, allocations: 12.03 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.1103, allocations: 30.75 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.1103, allocations: 8.844 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1105, allocations: 200 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1105, allocations: 4.375 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1105, allocations: 8.359 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1108, allocations: 113.6 kB / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1109, allocations: 7.938 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1109, allocations: 0 / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1109, allocations: 0 / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.111, allocations: 19.92 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1113, allocations: 257.8 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1116, allocations: 146.2 kB / 360 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.1116, allocations: 25.78 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1117, allocations: 4 kB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1117, allocations: 34.55 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1117, allocations: 0 / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002693/0.112, allocations: 77.7 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.112, allocations: 85.22 kB / 360.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1122, allocations: 132.4 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1122, allocations: 33.64 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1122, allocations: 84.14 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1123, allocations: 11.92 kB / 360.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1123, allocations: 17.62 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1124, allocations: 318.8 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.1125, allocations: 7.984 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.1125, allocations: 43.36 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.1126, allocations: 35.44 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1126, allocations: 7.938 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.1128, allocations: 73.55 kB / 361 MB, free: 9.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1128, allocations: 4 kB / 361 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1128, allocations: 0 / 361 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1128, allocations: 4 kB / 361 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.1129, allocations: 7.984 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1129, allocations: 4 kB / 361 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.1129, allocations: 0 / 361 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1129, allocations: 8.062 kB / 361 MB, free: 9.961 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.102e-05/0.113, allocations: 126.8 kB / 361.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.1131, allocations: 53.53 kB / 361.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.1132, allocations: 12.25 kB / 361.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1132, allocations: 0 / 361.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1132, allocations: 3.984 kB / 361.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1132, allocations: 0 / 361.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1134, allocations: 173.6 kB / 361.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1134, allocations: 0 / 361.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.1134, allocations: 8 kB / 361.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1135, allocations: 4 kB / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1135, allocations: 0 / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1135, allocations: 0 / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1135, allocations: 0 / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1137, allocations: 176.2 kB / 361.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1137, allocations: 93 kB / 361.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1137, allocations: 4 kB / 361.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.1138, allocations: 4 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1138, allocations: 3.984 kB / 361.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1139, allocations: 4 kB / 361.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.1139, allocations: 99.27 kB / 361.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1139, allocations: 0 / 361.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1142, allocations: 4 kB / 361.8 MB, free: 9.098 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.0004627/0.1146, allocations: 0.7053 MB / 362.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1148, allocations: 31.91 kB / 362.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1148, allocations: 7.938 kB / 362.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.1148, allocations: 4.25 kB / 362.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1152, allocations: 28.08 kB / 362.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1165, allocations: 1.335 MB / 363.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1167, allocations: 0.6887 MB / 364.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.1168, allocations: 4.234 kB / 364.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.1168, allocations: 15.44 kB / 364.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1168, allocations: 4 kB / 364.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.1287, allocations: 1.303 MB / 365.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.1289, allocations: 210.2 kB / 366.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/1.903, allocations: 4 kB / 366.1 MB, free: 4.66 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