Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009232/0.0009232, allocations: 90.12 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.001039/0.001039, allocations: 203 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.353/1.353, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002326/0.0002326, allocations: 8 kB / 307.8 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1013, allocations: 51.52 MB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001705/0.103, allocations: 1.313 MB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.104, allocations: 0.5338 MB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.1041, allocations: 4 kB / 361.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.1042, allocations: 7.922 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.1043, allocations: 15.88 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1046, allocations: 59.88 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.1047, allocations: 43.84 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.1048, allocations: 16.17 kB / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1049, allocations: 31.84 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.105, allocations: 19.86 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.105, allocations: 8 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.1051, allocations: 4 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1051, allocations: 11.92 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.1052, allocations: 53.5 kB / 361.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1053, allocations: 55.73 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1053, allocations: 0 / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1053, allocations: 0 / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1053, allocations: 0 / 361.5 MB, free: 10.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004089/0.1057, allocations: 367.5 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1058, allocations: 12.03 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.1058, allocations: 42.72 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1059, allocations: 24.78 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1061, allocations: 196.3 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1062, allocations: 4.125 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1062, allocations: 7.938 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1064, allocations: 125.9 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1065, allocations: 3.984 kB / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1065, allocations: 0 / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1065, allocations: 0 / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.1066, allocations: 23.98 kB / 362.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1069, allocations: 286.4 kB / 362.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.107, allocations: 75.78 kB / 362.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.1071, allocations: 30.64 kB / 362.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1071, allocations: 3.984 kB / 362.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1071, allocations: 34.56 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1071, allocations: 0 / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002588/0.1074, allocations: 93.45 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1075, allocations: 114.8 kB / 362.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1076, allocations: 145.7 kB / 363.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1076, allocations: 30.08 kB / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.1076, allocations: 92.14 kB / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.1077, allocations: 0 / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.1077, allocations: 17.7 kB / 363.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.1078, allocations: 314.8 kB / 363.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.1078, allocations: 11.98 kB / 363.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.1079, allocations: 35.44 kB / 363.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.108, allocations: 51.36 kB / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.108, allocations: 0 / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.1081, allocations: 85.45 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1082, allocations: 4 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1082, allocations: 0 / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1082, allocations: 7.938 kB / 363.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.1083, allocations: 11.98 kB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1083, allocations: 7.922 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.1083, allocations: 8.125 kB / 363.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1083, allocations: 4 kB / 363.8 MB, free: 8.238 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 7.987e-05/0.1084, allocations: 122.9 kB / 363.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.1085, allocations: 49.55 kB / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.1085, allocations: 15.86 kB / 363.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1085, allocations: 4 kB / 363.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1086, allocations: 3.938 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1086, allocations: 0 / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1087, allocations: 169.7 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1087, allocations: 4 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.1088, allocations: 11.98 kB / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1088, allocations: 0 / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1088, allocations: 4 kB / 364.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1088, allocations: 3.938 kB / 364.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1088, allocations: 3.938 kB / 364.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.109, allocations: 181.2 kB / 364.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1091, allocations: 97 kB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1091, allocations: 144 / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.1092, allocations: 7.984 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1092, allocations: 7.922 kB / 364.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1092, allocations: 8 kB / 364.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.073e-05/0.1093, allocations: 114.6 kB / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1093, allocations: 0 / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1095, allocations: 12 kB / 364.6 MB, free: 7.328 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0003908/0.1099, allocations: 0.7178 MB / 365.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1101, allocations: 35.92 kB / 365.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1101, allocations: 0 / 365.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.1101, allocations: 12.23 kB / 365.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1105, allocations: 35.95 kB / 365.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1117, allocations: 1.431 MB / 366.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.1119, allocations: 0.6887 MB / 367.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.112, allocations: 4 kB / 367.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.112, allocations: 19.42 kB / 367.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.112, allocations: 0 / 367.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.1226, allocations: 1.444 MB / 368.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.1228, allocations: 211.7 kB / 369.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.801, allocations: 0 / 369.2 MB, free: 2.664 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches