Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 93.47 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002302/0.0002301, allocations: 11.94 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07571/0.07595, allocations: 50.4 MB / 352.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001453/0.07743, allocations: 1.213 MB / 353.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.07776, allocations: 144.2 kB / 353.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.07784, allocations: 4 kB / 353.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.07787, allocations: 0 / 353.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.07798, allocations: 3.938 kB / 353.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.07819, allocations: 39.16 kB / 353.9 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.07826, allocations: 27.92 kB / 353.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.07835, allocations: 8 kB / 353.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.07838, allocations: 15.92 kB / 353.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.07842, allocations: 3.938 kB / 353.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.07844, allocations: 4 kB / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.07846, allocations: 7.875 kB / 354 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.07851, allocations: 11.97 kB / 354 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.07855, allocations: 45.52 kB / 354 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.714e-05/0.07861, allocations: 23.95 kB / 354 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.07862, allocations: 4 kB / 354 MB, free: 2.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.07863, allocations: 0 / 354 MB, free: 2.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.07864, allocations: 0 / 354 MB, free: 2.16 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003421/0.07898, allocations: 351.6 kB / 354.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.07902, allocations: 8.031 kB / 354.4 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.07906, allocations: 8.844 kB / 354.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.07922, allocations: 199.3 kB / 354.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.07923, allocations: 4.312 kB / 354.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.07925, allocations: 8.375 kB / 354.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.07946, allocations: 93.66 kB / 354.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.07948, allocations: 192 / 354.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.07949, allocations: 7.875 kB / 354.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.0795, allocations: 0 / 354.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.07958, allocations: 19.98 kB / 354.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.07984, allocations: 257.8 kB / 355 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.07993, allocations: 49.09 kB / 355 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.07999, allocations: 25.77 kB / 355 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.08001, allocations: 0 / 355 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.08004, allocations: 34.5 kB / 355.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.08004, allocations: 0 / 355.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.08026, allocations: 69.72 kB / 355.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.08032, allocations: 85.03 kB / 355.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.08043, allocations: 138 kB / 355.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.08045, allocations: 25.7 kB / 355.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.08049, allocations: 84.14 kB / 355.5 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.0805, allocations: 0 / 355.5 MB, free: 496 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.08053, allocations: 17.88 kB / 355.5 MB, free: 472 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.08062, allocations: 318.8 kB / 355.8 MB, free: 144 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.08066, allocations: 4 kB / 355.8 MB, free: 140 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.08071, allocations: 21.7 kB / 355.8 MB, free: 112 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.0808, allocations: 37.77 kB / 355.9 MB, free: 68 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.08081, allocations: 0 / 355.9 MB, free: 68 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001088/0.08092, allocations: 57.56 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.08095, allocations: 8.047 kB / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.08096, allocations: 0 / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.08098, allocations: 0 / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.08104, allocations: 8.062 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.08106, allocations: 4 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.08109, allocations: 7.875 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.0811, allocations: 4 kB / 356 MB, free: 15.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.118e-05/0.08118, allocations: 117.8 kB / 356.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.08124, allocations: 37.55 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.08127, allocations: 15.86 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.08128, allocations: 4.031 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.08129, allocations: 4 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.0813, allocations: 0 / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.08145, allocations: 165.6 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.08146, allocations: 0 / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.0815, allocations: 4 kB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.08151, allocations: 4 kB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.08152, allocations: 0 / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.08153, allocations: 0 / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08154, allocations: 3.938 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.0817, allocations: 172.2 kB / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.08176, allocations: 89.02 kB / 356.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.08178, allocations: 11.98 kB / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.08184, allocations: 0 / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.08188, allocations: 8.031 kB / 356.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.08188, allocations: 0 / 356.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.449e-05/0.08195, allocations: 107.2 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08196, allocations: 0 / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.08219, allocations: 4 kB / 356.7 MB, free: 15.13 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 7.044e-05/0.08226, allocations: 103.2 kB / 356.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.08238, allocations: 27.98 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08239, allocations: 0 / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.08244, allocations: 12 kB / 356.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.08275, allocations: 19.94 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.08303, allocations: 182.6 kB / 357 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.08324, allocations: 0.6887 MB / 357.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.08327, allocations: 7.438 kB / 357.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of SimCode: time 1.883e-06/0.08328, allocations: 0 / 357.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of Templates: time 0.001722/0.085, allocations: 0.6196 MB / 358.3 MB, free: 13.41 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches