Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 213.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.585/1.585, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.81 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3919, allocations: 53.31 MB / 420.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.005862/0.3978, allocations: 1.905 MB / 422.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.4009, allocations: 1.27 MB / 423.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.4011, allocations: 11.94 kB / 423.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.4017, allocations: 67.66 kB / 423.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.4021, allocations: 135.4 kB / 424 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.4032, allocations: 230.9 kB / 424.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.4037, allocations: 179.5 kB / 424.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.4039, allocations: 21.53 kB / 424.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.4041, allocations: 75.64 kB / 424.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.4043, allocations: 87.66 kB / 424.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.4043, allocations: 8 kB / 424.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.4046, allocations: 67.95 kB / 424.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.4047, allocations: 63.7 kB / 424.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.4049, allocations: 79.47 kB / 424.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.4055, allocations: 238.8 kB / 425.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.4055, allocations: 0 / 425.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4055, allocations: 4 kB / 425.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.4055, allocations: 0 / 425.1 MB, free: 3.938 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001029/0.4065, allocations: 0.5464 MB / 425.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4066, allocations: 8.031 kB / 425.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.4066, allocations: 24.8 kB / 425.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.4072, allocations: 295.8 kB / 425.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4072, allocations: 4.375 kB / 425.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4072, allocations: 16.12 kB / 425.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.4077, allocations: 147.6 kB / 426.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4077, allocations: 7.938 kB / 426.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4077, allocations: 4 kB / 426.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.4077, allocations: 0 / 426.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.4078, allocations: 39.97 kB / 426.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.4086, allocations: 374.4 kB / 426.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.4089, allocations: 123.9 kB / 426.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.409, allocations: 46.56 kB / 426.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.409, allocations: 4.062 kB / 426.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.4092, allocations: 87.25 kB / 426.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.4092, allocations: 0 / 426.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004749/0.4097, allocations: 157.4 kB / 426.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.4099, allocations: 158.2 kB / 427.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.4103, allocations: 334.9 kB / 427.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4103, allocations: 29.7 kB / 427.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4105, allocations: 140 kB / 427.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.4105, allocations: 11.91 kB / 427.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.4105, allocations: 29.7 kB / 427.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4107, allocations: 350.6 kB / 427.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.4108, allocations: 23.98 kB / 428 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.4109, allocations: 78.86 kB / 428 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.4111, allocations: 80.22 kB / 428.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4111, allocations: 0 / 428.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002774/0.4114, allocations: 137.4 kB / 428.3 MB, free: 392 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4114, allocations: 4 kB / 428.3 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4114, allocations: 4 kB / 428.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4114, allocations: 0 / 428.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4116, allocations: 19.98 kB / 428.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4116, allocations: 0 / 428.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.4117, allocations: 7.938 kB / 428.3 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4117, allocations: 8.125 kB / 428.3 MB, free: 348 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002017/0.4119, allocations: 161.7 kB / 428.5 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.412, allocations: 65.52 kB / 428.5 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.4121, allocations: 33.69 kB / 428.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4121, allocations: 3.938 kB / 428.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4121, allocations: 7.938 kB / 428.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.4121, allocations: 4.25 kB / 428.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.4124, allocations: 237.6 kB / 428.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.4125, allocations: 4.062 kB / 428.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.4125, allocations: 20 kB / 428.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4125, allocations: 3.984 kB / 428.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4125, allocations: 0 / 428.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4125, allocations: 4 kB / 428.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4125, allocations: 0 / 428.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.4129, allocations: 170.5 kB / 429 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.413, allocations: 109 kB / 429.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.4131, allocations: 7.984 kB / 429.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.4131, allocations: 4 kB / 429.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.4132, allocations: 11.98 kB / 429.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4132, allocations: 7.938 kB / 429.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.4135, allocations: 245.9 kB / 429.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4135, allocations: 0 / 429.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.4138, allocations: 35.92 kB / 429.4 MB, free: 15.12 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001668/0.4155, allocations: 438.3 kB / 429.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.4158, allocations: 67.91 kB / 429.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4158, allocations: 0 / 429.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.4159, allocations: 27.98 kB / 429.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.4163, allocations: 63.05 kB / 430 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.4171, allocations: 384.9 kB / 430.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.4177, allocations: 0.7358 MB / 431.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.715e-05/0.4178, allocations: 29.53 kB / 431.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.4178, allocations: 23.44 kB / 431.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4178, allocations: 0 / 431.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Templates: time 0.007798/0.4256, allocations: 2.873 MB / 434 MB, free: 10.62 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches