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.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 118.8 kB / 17.84 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.001306/0.001306, allocations: 201.2 kB / 18.79 MB, free: 4.332 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.643/1.643, allocations: 230.4 MB / 250 MB, free: 9.082 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.001966/0.001966, allocations: 71.83 kB / 367.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3657, allocations: 53.32 MB / 420.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003048/0.3688, allocations: 1.526 MB / 422.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00047/0.3692, allocations: 135.5 kB / 422.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.3693, allocations: 4 kB / 422.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.3694, allocations: 3.938 kB / 422.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.3695, allocations: 7.938 kB / 422.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3697, allocations: 43.83 kB / 422.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3699, allocations: 27.98 kB / 422.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.37, allocations: 11.98 kB / 422.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.37, allocations: 11.88 kB / 422.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.3701, allocations: 19.86 kB / 422.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3701, allocations: 7.938 kB / 422.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.3701, allocations: 0 / 422.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.3701, allocations: 11.94 kB / 422.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.3702, allocations: 31.84 kB / 422.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3703, allocations: 47.56 kB / 422.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3703, allocations: 0 / 422.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3703, allocations: 4 kB / 422.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3704, allocations: 0 / 422.5 MB, free: 6.488 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006786/0.371, allocations: 363.2 kB / 422.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.3711, allocations: 8.031 kB / 422.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.3712, allocations: 12.89 kB / 422.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.3716, allocations: 200.1 kB / 423.1 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3716, allocations: 8.375 kB / 423.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3716, allocations: 4.375 kB / 423.1 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3719, allocations: 109.6 kB / 423.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3719, allocations: 192 / 423.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.372, allocations: 3.938 kB / 423.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.372, allocations: 4 kB / 423.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.372, allocations: 23.92 kB / 423.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3725, allocations: 257.8 kB / 423.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3727, allocations: 142.2 kB / 423.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.3728, allocations: 25.77 kB / 423.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3728, allocations: 0 / 423.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.3729, allocations: 38.56 kB / 423.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3729, allocations: 0 / 423.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003136/0.3732, allocations: 81.59 kB / 423.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.3733, allocations: 81.14 kB / 423.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3735, allocations: 138 kB / 424 MB, free: 4.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3735, allocations: 29.7 kB / 424 MB, free: 4.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.3735, allocations: 84.14 kB / 424.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.3736, allocations: 3.953 kB / 424.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3736, allocations: 17.72 kB / 424.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3738, allocations: 322.8 kB / 424.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.3738, allocations: 8 kB / 424.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.3739, allocations: 35.36 kB / 424.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.102e-05/0.374, allocations: 51.42 kB / 424.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.374, allocations: 3.938 kB / 424.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.3741, allocations: 69.5 kB / 424.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3741, allocations: 10.33 kB / 424.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3741, allocations: 0 / 424.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3741, allocations: 4 kB / 424.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.3742, allocations: 4 kB / 424.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3742, allocations: 4 kB / 424.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.3742, allocations: 8.078 kB / 424.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3742, allocations: 4 kB / 424.7 MB, free: 4.07 MB / 334.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.0001303/0.3744, allocations: 121.8 kB / 424.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.3745, allocations: 53.86 kB / 424.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.3745, allocations: 16.28 kB / 424.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3745, allocations: 0 / 424.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3745, allocations: 0 / 424.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3745, allocations: 4 kB / 424.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3747, allocations: 173.6 kB / 425 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3747, allocations: 0 / 425 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.3748, allocations: 11.98 kB / 425 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3748, allocations: 0 / 425 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3748, allocations: 0 / 425 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.3748, allocations: 11.98 kB / 425 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3748, allocations: 0 / 425 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.375, allocations: 172.2 kB / 425.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.3751, allocations: 93.03 kB / 425.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3751, allocations: 4 kB / 425.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.3751, allocations: 0 / 425.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.3752, allocations: 4 kB / 425.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3752, allocations: 0 / 425.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.3753, allocations: 107.2 kB / 425.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3753, allocations: 0 / 425.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.3755, allocations: 4 kB / 425.4 MB, free: 3.195 MB / 334.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.000135/0.3756, allocations: 103.2 kB / 425.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.3758, allocations: 27.92 kB / 425.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3758, allocations: 0 / 425.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.3758, allocations: 11.98 kB / 425.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3762, allocations: 23.89 kB / 425.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.3767, allocations: 166.2 kB / 425.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.3772, allocations: 0.6885 MB / 426.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.3772, allocations: 3.938 kB / 426.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.3773, allocations: 15.44 kB / 426.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3773, allocations: 0 / 426.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of Templates: time 0.00361/0.3809, allocations: 0.4887 MB / 426.9 MB, free: 1.613 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches