Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 52.59 kB / 306.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 50.53 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003407/0.1153, allocations: 1.558 MB / 359 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.1157, allocations: 139.6 kB / 359.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.1158, allocations: 7.875 kB / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/0.1159, allocations: 0 / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1161, allocations: 7.938 kB / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1163, allocations: 27.97 kB / 359.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.704e-05/0.1164, allocations: 27.92 kB / 359.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1165, allocations: 4 kB / 359.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.1166, allocations: 23.86 kB / 359.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.1166, allocations: 11.88 kB / 359.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1167, allocations: 0 / 359.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.1167, allocations: 4 kB / 359.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1168, allocations: 11.98 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.1168, allocations: 19.81 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.1169, allocations: 23.95 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1169, allocations: 0 / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1169, allocations: 0 / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1169, allocations: 0 / 359.3 MB, free: 12.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006288/0.1175, allocations: 363.5 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1176, allocations: 16.02 kB / 359.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1176, allocations: 4.844 kB / 359.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1178, allocations: 186.2 kB / 359.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1179, allocations: 8.359 kB / 359.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.1179, allocations: 384 / 359.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1181, allocations: 97.61 kB / 360 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1181, allocations: 192 / 360 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1182, allocations: 3.938 kB / 360 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1182, allocations: 0 / 360 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.1183, allocations: 19.86 kB / 360 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1186, allocations: 257.8 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.1187, allocations: 49.08 kB / 360.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.1187, allocations: 17.78 kB / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1188, allocations: 0 / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1188, allocations: 34.55 kB / 360.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1188, allocations: 4 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002421/0.1191, allocations: 65.53 kB / 360.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.1191, allocations: 77.11 kB / 360.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1193, allocations: 134.1 kB / 360.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1193, allocations: 25.7 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.1193, allocations: 88.14 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.1194, allocations: 8.141 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1194, allocations: 21.72 kB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1195, allocations: 310.8 kB / 361.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.1196, allocations: 15.92 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.1196, allocations: 25.66 kB / 361.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.1197, allocations: 25.77 kB / 361.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1197, allocations: 0 / 361.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.1198, allocations: 61.55 kB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1198, allocations: 4 kB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1199, allocations: 0 / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1199, allocations: 4 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.1199, allocations: 4 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.12, allocations: 0 / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.12, allocations: 4.062 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.12, allocations: 4 kB / 361.2 MB, free: 10.44 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 9.928e-05/0.1201, allocations: 125.7 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.1202, allocations: 45.55 kB / 361.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.1202, allocations: 11.81 kB / 361.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1202, allocations: 0 / 361.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1202, allocations: 4 kB / 361.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1203, allocations: 0 / 361.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1204, allocations: 165.6 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1204, allocations: 7.969 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.1205, allocations: 7.984 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1205, allocations: 0 / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1205, allocations: 4 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1205, allocations: 0 / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1205, allocations: 0 / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1207, allocations: 160.2 kB / 361.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.1208, allocations: 93 kB / 361.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1208, allocations: 4 kB / 361.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.1209, allocations: 3.984 kB / 361.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1209, allocations: 0 / 361.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1209, allocations: 7.984 kB / 361.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.651e-05/0.121, allocations: 105.5 kB / 361.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.121, allocations: 4 kB / 361.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1212, allocations: 0 / 361.9 MB, free: 9.602 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 0.0001033/0.1213, allocations: 103.3 kB / 362 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.1215, allocations: 19.98 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1215, allocations: 4 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.1215, allocations: 7.938 kB / 362.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1219, allocations: 23.95 kB / 362.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1222, allocations: 178.1 kB / 362.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1225, allocations: 0.6926 MB / 363 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1225, allocations: 15.38 kB / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1225, allocations: 0 / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of Templates: time 0.001975/0.1245, allocations: 0.626 MB / 363.6 MB, free: 7.875 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches