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.001696/0.001696, allocations: 74.19 kB / 21.24 MB, free: 0.5547 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.002094/0.002094, allocations: 151.8 kB / 24.49 MB, free: 3.723 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.547/1.547, allocations: 173.4 MB / 201.1 MB, free: 12.67 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 46.3 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09537, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003167/0.09853, allocations: 1.583 MB / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.09945, allocations: 454.9 kB / 373.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.09954, allocations: 7.938 kB / 373.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.086e-05/0.09959, allocations: 3.938 kB / 373.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.09972, allocations: 11.86 kB / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1, allocations: 50.89 kB / 373.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1001, allocations: 47.78 kB / 373.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1002, allocations: 16.17 kB / 373.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.1003, allocations: 23.86 kB / 373.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.1003, allocations: 23.86 kB / 373.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1004, allocations: 4 kB / 373.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.1004, allocations: 4 kB / 373.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1004, allocations: 15.92 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1005, allocations: 19.86 kB / 373.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1006, allocations: 59.62 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1006, allocations: 0 / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1006, allocations: 0 / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1006, allocations: 0 / 373.9 MB, free: 5.004 MB / 334.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.0004786/0.1011, allocations: 302 kB / 374.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1011, allocations: 8.922 kB / 374.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1012, allocations: 12.89 kB / 374.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.1014, allocations: 150.2 kB / 374.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-06/0.1014, allocations: 4.312 kB / 374.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1014, allocations: 8.375 kB / 374.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.1017, allocations: 122 kB / 374.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1017, allocations: 0 / 374.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1017, allocations: 4 kB / 374.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1017, allocations: 0 / 374.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.1018, allocations: 19.98 kB / 374.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.1021, allocations: 222.3 kB / 374.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1023, allocations: 75.72 kB / 374.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.1023, allocations: 34.61 kB / 374.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1024, allocations: 4 kB / 374.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1024, allocations: 34.56 kB / 374.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1024, allocations: 0 / 374.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002724/0.1026, allocations: 85.5 kB / 374.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.1027, allocations: 110.8 kB / 375.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1029, allocations: 141.4 kB / 375.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1029, allocations: 25.7 kB / 375.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1029, allocations: 88.14 kB / 375.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.103, allocations: 8.328 kB / 375.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.103, allocations: 25.64 kB / 375.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1031, allocations: 318.8 kB / 375.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.1032, allocations: 7.984 kB / 375.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.1032, allocations: 35.42 kB / 375.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.1033, allocations: 47.36 kB / 375.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1033, allocations: 3.938 kB / 375.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001541/0.1035, allocations: 77.52 kB / 375.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1035, allocations: 6.812 kB / 375.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1035, allocations: 4 kB / 375.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1035, allocations: 0 / 375.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.1036, allocations: 11.98 kB / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1036, allocations: 0 / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.1037, allocations: 4 kB / 375.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1037, allocations: 3.938 kB / 375.8 MB, free: 2.793 MB / 334.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.504e-05/0.1038, allocations: 129.9 kB / 376 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.1038, allocations: 49.59 kB / 376 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.1039, allocations: 15.95 kB / 376 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1039, allocations: 0 / 376 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1039, allocations: 4 kB / 376 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1039, allocations: 0 / 376 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.104, allocations: 117.2 kB / 376.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.104, allocations: 4 kB / 376.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.1041, allocations: 11.98 kB / 376.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1041, allocations: 4.062 kB / 376.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1041, allocations: 0 / 376.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1041, allocations: 3.938 kB / 376.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1041, allocations: 4 kB / 376.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1043, allocations: 181.2 kB / 376.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1044, allocations: 19.88 kB / 376.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1044, allocations: 0 / 376.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.1045, allocations: 11.98 kB / 376.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1045, allocations: 0 / 376.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1045, allocations: 8 kB / 376.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.1046, allocations: 111.2 kB / 376.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1046, allocations: 0 / 376.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1048, allocations: 4 kB / 376.5 MB, free: 2.055 MB / 334.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 9.494e-05/0.1049, allocations: 99.19 kB / 376.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1051, allocations: 35.92 kB / 376.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1051, allocations: 0 / 376.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.1051, allocations: 8.234 kB / 376.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1054, allocations: 35.95 kB / 376.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.1058, allocations: 184.6 kB / 376.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.248e-05/0.1059, allocations: 75.33 kB / 376.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.029e-05/0.1059, allocations: 4 kB / 376.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1059, allocations: 8.5 kB / 377 MB, free: 1.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1059, allocations: 4 kB / 377 MB, free: 1.547 MB / 334.1 MB Notification: Performance of Templates: time 0.002941/0.1089, allocations: 0.6436 MB / 377.6 MB, free: 0.918 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.355913333012722]