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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.001601, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4147, allocations: 50.54 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003404/0.4181, allocations: 1.889 MB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.4203, allocations: 1.274 MB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.4204, allocations: 0 / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.4208, allocations: 67.67 kB / 412.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.4211, allocations: 131.4 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.4217, allocations: 226.8 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.422, allocations: 183.5 kB / 413 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4221, allocations: 33.55 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.4222, allocations: 75.69 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.4223, allocations: 75.69 kB / 413.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.4223, allocations: 8 kB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.4225, allocations: 71.89 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.4226, allocations: 59.77 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.4227, allocations: 75.48 kB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.423, allocations: 246.8 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.423, allocations: 0 / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.423, allocations: 0 / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.423, allocations: 0 / 413.6 MB, free: 13.22 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.0006912/0.4237, allocations: 0.5464 MB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4238, allocations: 12.03 kB / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.4238, allocations: 20.8 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4242, allocations: 291.8 kB / 414.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4242, allocations: 4.375 kB / 414.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.4242, allocations: 16.06 kB / 414.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.4246, allocations: 159.5 kB / 414.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4246, allocations: 3.984 kB / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4246, allocations: 0 / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4246, allocations: 0 / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4247, allocations: 43.97 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.4252, allocations: 390.3 kB / 415.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.4255, allocations: 119.9 kB / 415.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.4256, allocations: 42.56 kB / 415.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.4256, allocations: 0 / 415.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.4257, allocations: 87.31 kB / 415.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.4258, allocations: 0 / 415.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003603/0.4261, allocations: 145.5 kB / 415.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.4262, allocations: 166.2 kB / 415.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4265, allocations: 334.7 kB / 416 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4266, allocations: 29.7 kB / 416 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.4267, allocations: 136.2 kB / 416.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4267, allocations: 23.89 kB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.4268, allocations: 25.72 kB / 416.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4269, allocations: 338.8 kB / 416.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.427, allocations: 23.98 kB / 416.5 MB, free: 10 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.4271, allocations: 82.84 kB / 416.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4272, allocations: 92.47 kB / 416.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4272, allocations: 0 / 416.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002113/0.4274, allocations: 125.5 kB / 416.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4275, allocations: 10.66 kB / 416.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4275, allocations: 0 / 416.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4275, allocations: 4 kB / 416.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4276, allocations: 19.98 kB / 416.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.4276, allocations: 7.938 kB / 416.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.4277, allocations: 7.938 kB / 416.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4277, allocations: 7.984 kB / 416.9 MB, free: 9.609 MB / 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.0001176/0.4278, allocations: 157.8 kB / 417 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.4279, allocations: 77.44 kB / 417.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.428, allocations: 25.7 kB / 417.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.428, allocations: 4 kB / 417.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.428, allocations: 0 / 417.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.428, allocations: 3.938 kB / 417.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4282, allocations: 237.6 kB / 417.4 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4282, allocations: 4 kB / 417.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.4283, allocations: 11.98 kB / 417.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4283, allocations: 3.938 kB / 417.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4283, allocations: 12 kB / 417.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4283, allocations: 0 / 417.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4283, allocations: 0 / 417.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.4286, allocations: 170.5 kB / 417.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.4287, allocations: 112.9 kB / 417.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.4287, allocations: 4 kB / 417.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.4288, allocations: 12.06 kB / 417.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4288, allocations: 7.984 kB / 417.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4289, allocations: 11.94 kB / 417.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.4291, allocations: 249.9 kB / 418 MB, free: 8.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4291, allocations: 3.938 kB / 418 MB, free: 8.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.4293, allocations: 35.94 kB / 418 MB, free: 8.379 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: 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.0009105/0.4302, allocations: 417.8 kB / 418.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4305, allocations: 67.91 kB / 418.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4305, allocations: 0 / 418.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.4306, allocations: 31.92 kB / 418.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.431, allocations: 76.92 kB / 418.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.4315, allocations: 373.2 kB / 418.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4318, allocations: 0.7475 MB / 419.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.4318, allocations: 25.53 kB / 419.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.4319, allocations: 27.42 kB / 419.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4319, allocations: 7.938 kB / 419.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of Templates: time 0.006372/0.4383, allocations: 2.829 MB / 422.6 MB, free: 3.891 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches