Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001282/0.001282, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.572/1.572, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 47.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4245, allocations: 49.43 MB / 400.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003848/0.4284, allocations: 1.517 MB / 402.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.4289, allocations: 143.5 kB / 402.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.429, allocations: 0 / 402.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.439e-05/0.4291, allocations: 3.938 kB / 402.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.4293, allocations: 7.938 kB / 402.4 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.4296, allocations: 39.02 kB / 402.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4297, allocations: 31.92 kB / 402.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4298, allocations: 15.98 kB / 402.5 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.4299, allocations: 11.94 kB / 402.5 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.43, allocations: 23.8 kB / 402.5 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.43, allocations: 4 kB / 402.5 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.43, allocations: 4 kB / 402.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.4301, allocations: 11.94 kB / 402.5 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.4301, allocations: 27.78 kB / 402.5 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.4303, allocations: 47.7 kB / 402.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4303, allocations: 0 / 402.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4303, allocations: 0 / 402.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4303, allocations: 0 / 402.6 MB, free: 7.129 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005314/0.4309, allocations: 375.2 kB / 403 MB, free: 6.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4309, allocations: 8.031 kB / 403 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.431, allocations: 8.891 kB / 403 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4313, allocations: 196.2 kB / 403.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4313, allocations: 4.375 kB / 403.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4314, allocations: 4.375 kB / 403.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.4317, allocations: 121.6 kB / 403.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4318, allocations: 192 / 403.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4318, allocations: 3.938 kB / 403.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4318, allocations: 0 / 403.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4319, allocations: 19.98 kB / 403.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.4323, allocations: 269.7 kB / 403.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.4326, allocations: 134.2 kB / 403.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.4327, allocations: 33.7 kB / 403.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4328, allocations: 4 kB / 403.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.4328, allocations: 34.56 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4328, allocations: 0 / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003667/0.4332, allocations: 77.56 kB / 403.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.4333, allocations: 81.11 kB / 403.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.4335, allocations: 134.1 kB / 404.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4335, allocations: 29.83 kB / 404.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.4336, allocations: 92.08 kB / 404.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.4336, allocations: 3.938 kB / 404.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.4337, allocations: 21.67 kB / 404.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4338, allocations: 314.8 kB / 404.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.4339, allocations: 12 kB / 404.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.434, allocations: 35.42 kB / 404.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4341, allocations: 47.36 kB / 404.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4341, allocations: 0 / 404.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001893/0.4343, allocations: 77.48 kB / 404.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4344, allocations: 8 kB / 404.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4344, allocations: 3.938 kB / 404.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4344, allocations: 0 / 404.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.4345, allocations: 8 kB / 404.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4345, allocations: 0 / 404.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.4346, allocations: 7.984 kB / 404.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4346, allocations: 4 kB / 404.7 MB, free: 4.695 MB / 318.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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 0.0001299/0.4347, allocations: 121.9 kB / 404.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4349, allocations: 53.58 kB / 404.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.4349, allocations: 12.25 kB / 404.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.4349, allocations: 0 / 404.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4349, allocations: 0 / 404.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4349, allocations: 0 / 404.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.4352, allocations: 173.6 kB / 405.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4352, allocations: 336 / 405.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.4353, allocations: 11.98 kB / 405.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4353, allocations: 0 / 405.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4353, allocations: 4 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4353, allocations: 0 / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4354, allocations: 0 / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.4356, allocations: 176.2 kB / 405.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.4357, allocations: 93.05 kB / 405.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.4357, allocations: 4 kB / 405.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4359, allocations: 4 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.4359, allocations: 4 kB / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.4359, allocations: 4 kB / 405.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.436, allocations: 110.7 kB / 405.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4361, allocations: 0 / 405.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.4365, allocations: 4 kB / 405.5 MB, free: 3.828 MB / 318.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0001548/0.4367, allocations: 107.2 kB / 405.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4369, allocations: 35.98 kB / 405.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4369, allocations: 0 / 405.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.4369, allocations: 7.984 kB / 405.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.4375, allocations: 27.89 kB / 405.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.438, allocations: 142.4 kB / 405.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4384, allocations: 0.6922 MB / 406.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.4385, allocations: 8.25 kB / 406.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.4385, allocations: 7.438 kB / 406.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4385, allocations: 0 / 406.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of Templates: time 0.00418/0.4427, allocations: 0.4988 MB / 407 MB, free: 2.246 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches