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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 97 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008309/0.0008309, allocations: 39.94 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.292, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002929/0.295, allocations: 1.568 MB / 401 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.2954, allocations: 139.5 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.2955, allocations: 4 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.2955, allocations: 7.938 kB / 401.2 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2957, allocations: 0 / 401.2 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2959, allocations: 37.97 kB / 401.2 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.296, allocations: 27.92 kB / 401.3 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2961, allocations: 15.98 kB / 401.3 MB, free: 31.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.2962, allocations: 15.94 kB / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.2962, allocations: 15.86 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2962, allocations: 4 kB / 401.3 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2963, allocations: 0 / 401.3 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.2963, allocations: 15.92 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.2964, allocations: 23.8 kB / 401.3 MB, free: 31.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.2965, allocations: 43.83 kB / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2965, allocations: 0 / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2965, allocations: 3.938 kB / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.2965, allocations: 0 / 401.4 MB, free: 31.45 MB / 298.7 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.0003973/0.2969, allocations: 376.7 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2969, allocations: 8.031 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.297, allocations: 8.844 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2971, allocations: 188.2 kB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2972, allocations: 4.375 kB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2972, allocations: 8.375 kB / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2974, allocations: 113.6 kB / 402.1 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2974, allocations: 4.125 kB / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2975, allocations: 3.938 kB / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2975, allocations: 0 / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.2975, allocations: 19.98 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.2978, allocations: 257.7 kB / 402.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.298, allocations: 146.2 kB / 402.5 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.298, allocations: 25.78 kB / 402.5 MB, free: 30.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2981, allocations: 3.984 kB / 402.5 MB, free: 30.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.2981, allocations: 34.56 kB / 402.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.2981, allocations: 0 / 402.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002288/0.2983, allocations: 81.69 kB / 402.6 MB, free: 29.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2984, allocations: 85.05 kB / 402.7 MB, free: 29.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.2985, allocations: 137.6 kB / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2985, allocations: 25.7 kB / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.2985, allocations: 92.25 kB / 403 MB, free: 29.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.2985, allocations: 7.938 kB / 403 MB, free: 29.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.2986, allocations: 17.72 kB / 403 MB, free: 29.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.2986, allocations: 310.8 kB / 403.3 MB, free: 29.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.2986, allocations: 15.98 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.2987, allocations: 27.42 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.2988, allocations: 51.36 kB / 403.4 MB, free: 29.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2988, allocations: 0 / 403.4 MB, free: 29.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.2989, allocations: 69.59 kB / 403.5 MB, free: 29.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2989, allocations: 12 kB / 403.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2989, allocations: 7.938 kB / 403.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.299, allocations: 0 / 403.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.299, allocations: 15.92 kB / 403.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.299, allocations: 0 / 403.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.2991, allocations: 4 kB / 403.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2991, allocations: 0 / 403.5 MB, free: 29.03 MB / 298.7 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 5.991e-05/0.2991, allocations: 129.7 kB / 403.6 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.2992, allocations: 49.61 kB / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.2992, allocations: 12.23 kB / 403.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2993, allocations: 4 kB / 403.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2993, allocations: 0 / 403.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2993, allocations: 0 / 403.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2994, allocations: 173.5 kB / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2994, allocations: 4 kB / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.2995, allocations: 7.938 kB / 403.9 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2995, allocations: 4 kB / 403.9 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.2995, allocations: 0 / 403.9 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2995, allocations: 0 / 403.9 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2995, allocations: 4 kB / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.2998, allocations: 0.7287 MB / 404.6 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.2998, allocations: 89 kB / 404.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2999, allocations: 4 kB / 404.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.2999, allocations: 8 kB / 404.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3, allocations: 0 / 404.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3, allocations: 7.938 kB / 404.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.609e-05/0.3, allocations: 107.2 kB / 404.8 MB, free: 27.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.3, allocations: 0 / 404.8 MB, free: 27.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.3004, allocations: 7.938 kB / 404.8 MB, free: 27.55 MB / 298.7 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 7.837e-05/0.3004, allocations: 95.25 kB / 404.9 MB, free: 27.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.3006, allocations: 31.92 kB / 405 MB, free: 27.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3006, allocations: 0 / 405 MB, free: 27.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.3006, allocations: 11.98 kB / 405 MB, free: 27.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.301, allocations: 23.97 kB / 405 MB, free: 27.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3013, allocations: 275.3 kB / 405.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.3015, allocations: 0.6887 MB / 406 MB, free: 26.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.3015, allocations: 4 kB / 406 MB, free: 26.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.3015, allocations: 7.438 kB / 406 MB, free: 26.34 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3015, allocations: 0 / 406 MB, free: 26.34 MB / 298.7 MB Notification: Performance of Templates: time 0.002194/0.3037, allocations: 478.8 kB / 406.4 MB, free: 25.88 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches