Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00293/0.1137, allocations: 1.585 MB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.1146, allocations: 486.7 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.1147, allocations: 3.938 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.1147, allocations: 7.922 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1149, allocations: 15.92 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1151, allocations: 51.83 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1153, allocations: 47.84 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.1154, allocations: 12.12 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.1154, allocations: 23.91 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1155, allocations: 27.86 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1155, allocations: 0 / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.1155, allocations: 4 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.1156, allocations: 11.98 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1156, allocations: 31.75 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1157, allocations: 51.73 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1157, allocations: 3.938 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1157, allocations: 0 / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1158, allocations: 4 kB / 420.1 MB, free: 10.24 MB / 350.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.0005479/0.1163, allocations: 379 kB / 420.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1163, allocations: 12.03 kB / 420.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.1164, allocations: 46.72 kB / 420.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1164, allocations: 8.891 kB / 420.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1167, allocations: 200.2 kB / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1167, allocations: 384 / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1167, allocations: 4.375 kB / 420.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.117, allocations: 125.8 kB / 420.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.117, allocations: 0 / 420.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.117, allocations: 0 / 420.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.117, allocations: 7.875 kB / 420.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.1171, allocations: 19.98 kB / 420.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1175, allocations: 282.5 kB / 421.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1176, allocations: 63.84 kB / 421.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.1177, allocations: 38.56 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1177, allocations: 0 / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1177, allocations: 34.56 kB / 421.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1177, allocations: 4 kB / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002788/0.118, allocations: 77.91 kB / 421.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.1181, allocations: 118.8 kB / 421.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1182, allocations: 139.9 kB / 421.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1183, allocations: 29.7 kB / 421.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1183, allocations: 88.12 kB / 421.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1183, allocations: 3.953 kB / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1184, allocations: 17.72 kB / 421.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1185, allocations: 330.8 kB / 422.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.1186, allocations: 4 kB / 422.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.1186, allocations: 35.42 kB / 422.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1187, allocations: 55.3 kB / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1187, allocations: 0 / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.1189, allocations: 73.56 kB / 422.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1189, allocations: 4 kB / 422.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1189, allocations: 3.938 kB / 422.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1189, allocations: 4 kB / 422.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.119, allocations: 4 kB / 422.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.119, allocations: 8.125 kB / 422.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.119, allocations: 3.984 kB / 422.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.119, allocations: 4 kB / 422.3 MB, free: 7.746 MB / 350.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.647e-05/0.1191, allocations: 118.4 kB / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.1192, allocations: 57.58 kB / 422.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.1193, allocations: 11.88 kB / 422.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1193, allocations: 0 / 422.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1193, allocations: 0 / 422.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1193, allocations: 4.062 kB / 422.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1195, allocations: 177.6 kB / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1195, allocations: 4 kB / 422.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1195, allocations: 8 kB / 422.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1195, allocations: 0 / 422.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1195, allocations: 4 kB / 422.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1195, allocations: 3.984 kB / 422.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1195, allocations: 0 / 422.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1198, allocations: 185.1 kB / 422.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.1198, allocations: 97.12 kB / 423 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1198, allocations: 4 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.1199, allocations: 4 kB / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1199, allocations: 3.984 kB / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.12, allocations: 0 / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.12, allocations: 113.5 kB / 423.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.12, allocations: 4 kB / 423.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1203, allocations: 4 kB / 423.1 MB, free: 6.852 MB / 350.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.0005427/0.1208, allocations: 0.7179 MB / 423.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1209, allocations: 35.91 kB / 423.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1209, allocations: 4 kB / 423.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.121, allocations: 4 kB / 423.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1213, allocations: 26.14 kB / 423.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1228, allocations: 1.403 MB / 425.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1232, allocations: 0.6961 MB / 426 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.55e-05/0.1233, allocations: 4 kB / 426 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.1233, allocations: 15.44 kB / 426 MB, free: 3.777 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1233, allocations: 3.938 kB / 426 MB, free: 3.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.1474, allocations: 1.687 MB / 427.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.063, allocations: 12.66 kB / 427.7 MB, free: 2.188 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.475382456090301]