Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009453/0.0009453, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009463/0.0009463, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.029e-05/4.26e-05, allocations: 5.266 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00345/0.003492, allocations: 1.94 MB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005544, allocations: 1.246 MB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.005711, allocations: 0 / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.006082, allocations: 67.66 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.006469, allocations: 139.3 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.007094, allocations: 231 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.007365, allocations: 179.5 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.007497, allocations: 17.81 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.007635, allocations: 103.7 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.007762, allocations: 75.78 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.007785, allocations: 12 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.007965, allocations: 71.88 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.008053, allocations: 51.78 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.008117, allocations: 43.84 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.008502, allocations: 191.2 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.008509, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.008511, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.008519, allocations: 4 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007798/0.009299, allocations: 0.5672 MB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.009351, allocations: 15.98 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.009436, allocations: 32.73 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.009885, allocations: 223.6 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.009915, allocations: 4.375 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.009937, allocations: 8.375 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.01028, allocations: 190.6 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01029, allocations: 192 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.01031, allocations: 4.375 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01032, allocations: 3.938 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.01037, allocations: 23.98 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.01087, allocations: 378.9 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.01103, allocations: 109.4 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.01108, allocations: 43.05 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.0111, allocations: 11.94 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.01124, allocations: 76.97 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.01124, allocations: 0 / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002878/0.01153, allocations: 121.5 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.0116, allocations: 140.5 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.01185, allocations: 324.3 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01186, allocations: 25.7 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.01195, allocations: 182.8 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.01198, allocations: 16.14 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.01202, allocations: 35.38 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01217, allocations: 0.5079 MB / 280.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.01221, allocations: 8 kB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.01228, allocations: 106.1 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.596e-05/0.01235, allocations: 47.61 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01235, allocations: 0 / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001294/0.01248, allocations: 93.42 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.0125, allocations: 7.125 kB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01251, allocations: 4.062 kB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01252, allocations: 0 / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.01262, allocations: 19.92 kB / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01263, allocations: 0 / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.01267, allocations: 4 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.01268, allocations: 0 / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001002/0.01278, allocations: 168.5 kB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.01285, allocations: 73.42 kB / 280.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.01301, allocations: 99.5 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.01301, allocations: 12.05 kB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.01302, allocations: 0 / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01302, allocations: 0 / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.01317, allocations: 192.5 kB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01317, allocations: 0 / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.01323, allocations: 15.94 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.01323, allocations: 3.938 kB / 281.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01325, allocations: 11.98 kB / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01325, allocations: 0 / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01325, allocations: 4 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.01343, allocations: 163.8 kB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.01349, allocations: 43.77 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01352, allocations: 8.062 kB / 281.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.01355, allocations: 0 / 281.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.0136, allocations: 11.98 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.01362, allocations: 8 kB / 281.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.01377, allocations: 221.1 kB / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01377, allocations: 0 / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.01396, allocations: 35.94 kB / 281.6 MB, free: 8.312 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009938/0.01496, allocations: 403.2 kB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.01511, allocations: 51.59 kB / 282 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01511, allocations: 0 / 282 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.01516, allocations: 39.67 kB / 282.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01545, allocations: 58.27 kB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.01594, allocations: 348.6 kB / 282.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.01617, allocations: 83.97 kB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.01623, allocations: 29.61 kB / 282.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.01628, allocations: 24.69 kB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01628, allocations: 0 / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of Templates: time 0.005956/0.02223, allocations: 2.978 MB / 285.6 MB, free: 4.398 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0251974570564926]