Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00174/0.00174, allocations: 111.6 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002072/0.002072, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.362/2.362, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4269, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003156/0.4301, allocations: 1.519 MB / 411.4 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.4306, allocations: 131.6 kB / 411.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.4307, allocations: 4 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.97e-05/0.4308, allocations: 7.875 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.431, allocations: 7.922 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.4313, allocations: 43.84 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4314, allocations: 31.97 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4316, allocations: 12 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.4316, allocations: 15.86 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.4317, allocations: 15.88 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4317, allocations: 0 / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.4317, allocations: 4 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.4318, allocations: 15.92 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.4318, allocations: 23.88 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.432, allocations: 55.69 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.432, allocations: 3.984 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.432, allocations: 0 / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.432, allocations: 0 / 411.8 MB, free: 15.73 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.0005558/0.4326, allocations: 363.1 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4326, allocations: 12.03 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.4327, allocations: 8.844 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.433, allocations: 197.4 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.433, allocations: 384 / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.433, allocations: 4.375 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.4333, allocations: 117.6 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4334, allocations: 4.188 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4334, allocations: 7.938 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4334, allocations: 0 / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.4335, allocations: 23.92 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.4338, allocations: 253.7 kB / 412.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.434, allocations: 146.2 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.4341, allocations: 25.78 kB / 412.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.4341, allocations: 7.984 kB / 412.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4342, allocations: 34.56 kB / 413 MB, free: 14.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.955e-06/0.4342, allocations: 7.922 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002773/0.4345, allocations: 77.61 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.4345, allocations: 77.11 kB / 413.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4347, allocations: 137.2 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4347, allocations: 29.7 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.4348, allocations: 88.12 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.4349, allocations: 0 / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.4349, allocations: 21.72 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4351, allocations: 319 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.4352, allocations: 7.984 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.4352, allocations: 39.36 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.4353, allocations: 47.42 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4353, allocations: 0 / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.4355, allocations: 73.41 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4355, allocations: 4 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4355, allocations: 0 / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4355, allocations: 7.938 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4357, allocations: 12.11 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4357, allocations: 4 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.4357, allocations: 4 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4357, allocations: 0 / 413.9 MB, free: 13.32 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 9.563e-05/0.4358, allocations: 129.7 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.4359, allocations: 45.55 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.4359, allocations: 16.23 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.436, allocations: 0 / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.436, allocations: 4 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.436, allocations: 4 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.4362, allocations: 173.5 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4362, allocations: 0 / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.4362, allocations: 12 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4363, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4363, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4363, allocations: 4 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.4363, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.4365, allocations: 176.1 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.4366, allocations: 93.09 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4366, allocations: 0 / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.4366, allocations: 3.984 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.4367, allocations: 4 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.4367, allocations: 0 / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.4368, allocations: 103.3 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4368, allocations: 0 / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.437, allocations: 8 kB / 414.7 MB, free: 12.44 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.0001196/0.4371, allocations: 103.2 kB / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.4373, allocations: 27.92 kB / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4373, allocations: 0 / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.4373, allocations: 8 kB / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4377, allocations: 32.62 kB / 414.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.4381, allocations: 184.2 kB / 415 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4384, allocations: 0.6885 MB / 415.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.4384, allocations: 11.44 kB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.4384, allocations: 0 / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Templates: time 0.002221/0.4407, allocations: 0.7047 MB / 416.4 MB, free: 10.62 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches