Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 177.1 MB / 204.7 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 61.67 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 53.39 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003772/0.138, allocations: 1.603 MB / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1392, allocations: 0.4948 MB / 381 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1393, allocations: 4 kB / 381 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.1394, allocations: 11.86 kB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1395, allocations: 11.92 kB / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.1399, allocations: 59.81 kB / 381.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.14, allocations: 51.8 kB / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1402, allocations: 12.17 kB / 381.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1403, allocations: 31.84 kB / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.1404, allocations: 23.86 kB / 381.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1404, allocations: 4 kB / 381.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.1404, allocations: 4 kB / 381.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1405, allocations: 11.94 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.1405, allocations: 23.84 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1407, allocations: 71.61 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1407, allocations: 0 / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1407, allocations: 7.938 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1407, allocations: 0 / 381.3 MB, free: 13.1 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.0005757/0.1413, allocations: 302 kB / 381.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1413, allocations: 8.031 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.1415, allocations: 20.88 kB / 381.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1418, allocations: 146.9 kB / 381.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1418, allocations: 384 / 381.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1418, allocations: 7.938 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1421, allocations: 117.9 kB / 381.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1421, allocations: 4 kB / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1421, allocations: 0 / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1421, allocations: 0 / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.1422, allocations: 23.92 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1426, allocations: 222.2 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1427, allocations: 71.78 kB / 382.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.1428, allocations: 34.62 kB / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1428, allocations: 0 / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1428, allocations: 42.5 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1428, allocations: 0 / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002699/0.1431, allocations: 81.56 kB / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/0.1432, allocations: 107.2 kB / 382.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1433, allocations: 148.6 kB / 382.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1433, allocations: 29.7 kB / 382.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.1434, allocations: 88.12 kB / 382.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1434, allocations: 11.94 kB / 382.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1435, allocations: 17.67 kB / 382.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1436, allocations: 322.8 kB / 383.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.1437, allocations: 8 kB / 383.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.1437, allocations: 39.36 kB / 383.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1438, allocations: 47.36 kB / 383.2 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1438, allocations: 0 / 383.2 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.144, allocations: 77.55 kB / 383.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.144, allocations: 8 kB / 383.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.144, allocations: 0 / 383.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.144, allocations: 0 / 383.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.1441, allocations: 12.12 kB / 383.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.1441, allocations: 4 kB / 383.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1441, allocations: 3.984 kB / 383.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1441, allocations: 7.938 kB / 383.3 MB, free: 10.88 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.969e-05/0.1442, allocations: 117.8 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.1443, allocations: 57.59 kB / 383.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.1444, allocations: 7.969 kB / 383.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1444, allocations: 7.938 kB / 383.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1444, allocations: 0 / 383.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1444, allocations: 4.062 kB / 383.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1445, allocations: 125.2 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1445, allocations: 0 / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.1446, allocations: 11.94 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1446, allocations: 3.984 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1446, allocations: 4 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1446, allocations: 0 / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1446, allocations: 0 / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1448, allocations: 185.2 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.1449, allocations: 11.94 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1449, allocations: 12 kB / 383.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.145, allocations: 0 / 383.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.145, allocations: 7.938 kB / 383.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.145, allocations: 0 / 383.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.1451, allocations: 118.4 kB / 384 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1451, allocations: 0 / 384 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1453, allocations: 4 kB / 384 MB, free: 10.14 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.0001083/0.1454, allocations: 99.25 kB / 384.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1456, allocations: 35.91 kB / 384.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.1456, allocations: 4 kB / 384.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.1456, allocations: 4 kB / 384.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.146, allocations: 26.83 kB / 384.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.1463, allocations: 180.5 kB / 384.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.326e-05/0.1464, allocations: 90.95 kB / 384.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.772e-05/0.1464, allocations: 8 kB / 384.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1465, allocations: 12.5 kB / 384.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1465, allocations: 0 / 384.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of Templates: time 0.003215/0.1497, allocations: 0.651 MB / 385.1 MB, free: 9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.451738702016883]