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.001593/0.001593, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 208.1 kB / 19.25 MB, free: 3.941 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.399/1.399, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.00186/0.001861, allocations: 71.91 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.0988, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003024/0.1019, allocations: 1.511 MB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003585/0.1022, allocations: 139.5 kB / 360.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.1023, allocations: 4 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.1024, allocations: 7.875 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.1025, allocations: 11.92 kB / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1027, allocations: 39.91 kB / 360.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.1028, allocations: 31.86 kB / 360.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1029, allocations: 23.95 kB / 360.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.103, allocations: 11.94 kB / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.103, allocations: 15.92 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.103, allocations: 4 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.1031, allocations: 0 / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1031, allocations: 11.94 kB / 360.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.1032, allocations: 23.86 kB / 360.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.1033, allocations: 51.75 kB / 360.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1033, allocations: 0 / 360.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1033, allocations: 0 / 360.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.1033, allocations: 3.938 kB / 360.3 MB, free: 12.07 MB / 302.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.0004436/0.1037, allocations: 363.5 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1038, allocations: 12.03 kB / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1038, allocations: 8.844 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.104, allocations: 192.1 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-06/0.104, allocations: 4.375 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1041, allocations: 8.375 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.1043, allocations: 109.6 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1043, allocations: 192 / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1044, allocations: 11.92 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1044, allocations: 4 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.1045, allocations: 15.92 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.1048, allocations: 257.8 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.105, allocations: 150.2 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.1051, allocations: 25.78 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1051, allocations: 3.984 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1051, allocations: 38.55 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1051, allocations: 0 / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002392/0.1054, allocations: 77.52 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.1054, allocations: 85.11 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1056, allocations: 133.3 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1056, allocations: 25.7 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.1057, allocations: 92.08 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1057, allocations: 7.969 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1057, allocations: 21.62 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1059, allocations: 319 kB / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.1059, allocations: 7.984 kB / 362.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.106, allocations: 39.36 kB / 362.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.1061, allocations: 47.36 kB / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1061, allocations: 0 / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.1062, allocations: 65.56 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1062, allocations: 4 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1062, allocations: 0 / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1063, allocations: 4 kB / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.1063, allocations: 11.98 kB / 362.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1063, allocations: 8.125 kB / 362.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.1064, allocations: 7.875 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1064, allocations: 4 kB / 362.4 MB, free: 9.648 MB / 302.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 9.541e-05/0.1065, allocations: 125.7 kB / 362.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.1066, allocations: 45.61 kB / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.1066, allocations: 16.23 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1066, allocations: 0 / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1066, allocations: 0 / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1067, allocations: 4 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1068, allocations: 169.6 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.1069, allocations: 4 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.1069, allocations: 8 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1069, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1069, allocations: 4 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1069, allocations: 0 / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1069, allocations: 4 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1071, allocations: 172.2 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.1072, allocations: 89 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1073, allocations: 8 kB / 363.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.1073, allocations: 3.984 kB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1074, allocations: 0 / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1074, allocations: 7.938 kB / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.1074, allocations: 99.27 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1075, allocations: 0 / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1077, allocations: 12 kB / 363.2 MB, free: 8.781 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: 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.0001037/0.1078, allocations: 95.25 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1079, allocations: 31.91 kB / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.108, allocations: 0 / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.108, allocations: 12 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1084, allocations: 30.89 kB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1087, allocations: 180.3 kB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1091, allocations: 0.6886 MB / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1091, allocations: 11.44 kB / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1091, allocations: 0 / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of Templates: time 0.002112/0.1112, allocations: 0.6935 MB / 364.9 MB, free: 6.977 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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