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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 110.4 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002167, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4134, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002914/0.4164, allocations: 1.517 MB / 402.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.4168, allocations: 139.5 kB / 402.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.4169, allocations: 0 / 402.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.417, allocations: 3.938 kB / 402.4 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.4172, allocations: 11.94 kB / 402.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.4174, allocations: 39.88 kB / 402.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.4176, allocations: 31.92 kB / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4177, allocations: 15.98 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.4177, allocations: 15.94 kB / 402.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.4178, allocations: 15.86 kB / 402.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.4178, allocations: 4 kB / 402.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.4178, allocations: 7.938 kB / 402.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.4179, allocations: 11.94 kB / 402.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.4179, allocations: 19.86 kB / 402.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.4181, allocations: 51.75 kB / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4181, allocations: 0 / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4181, allocations: 0 / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4181, allocations: 4 kB / 402.6 MB, free: 6.977 MB / 318.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.0004873/0.4186, allocations: 367.1 kB / 403 MB, free: 6.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4186, allocations: 8.031 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.4187, allocations: 8.844 kB / 403 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.4189, allocations: 193.5 kB / 403.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4189, allocations: 8.312 kB / 403.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.4189, allocations: 4.375 kB / 403.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4192, allocations: 113.6 kB / 403.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4192, allocations: 192 / 403.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4193, allocations: 3.938 kB / 403.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4193, allocations: 4 kB / 403.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.4193, allocations: 15.98 kB / 403.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.4197, allocations: 261.8 kB / 403.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.4199, allocations: 138.2 kB / 403.7 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.4199, allocations: 37.7 kB / 403.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.42, allocations: 0 / 403.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.42, allocations: 30.56 kB / 403.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.42, allocations: 4 kB / 403.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002383/0.4202, allocations: 73.52 kB / 403.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.4203, allocations: 89.05 kB / 403.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4204, allocations: 138.2 kB / 404.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4204, allocations: 25.7 kB / 404.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.4205, allocations: 96.03 kB / 404.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.4205, allocations: 0 / 404.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.4206, allocations: 17.72 kB / 404.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.4207, allocations: 318.8 kB / 404.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.4207, allocations: 8 kB / 404.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.4208, allocations: 35.42 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.4208, allocations: 47.36 kB / 404.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4209, allocations: 0 / 404.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.421, allocations: 77.41 kB / 404.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.421, allocations: 8 kB / 404.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.421, allocations: 3.984 kB / 404.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.421, allocations: 0 / 404.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.4211, allocations: 8 kB / 404.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4211, allocations: 4 kB / 404.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.4211, allocations: 0 / 404.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4212, allocations: 4.281 kB / 404.7 MB, free: 4.57 MB / 318.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 7.505e-05/0.4212, allocations: 125.9 kB / 404.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.4213, allocations: 53.53 kB / 404.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.4214, allocations: 16.23 kB / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4214, allocations: 0 / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4214, allocations: 0 / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4214, allocations: 4 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4216, allocations: 177.5 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4216, allocations: 0 / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.4216, allocations: 8 kB / 405.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4216, allocations: 4 kB / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.4216, allocations: 3.984 kB / 405.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4217, allocations: 3.984 kB / 405.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4217, allocations: 4 kB / 405.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.4218, allocations: 164.2 kB / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.4219, allocations: 89.09 kB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.4219, allocations: 11.98 kB / 405.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.422, allocations: 3.938 kB / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.422, allocations: 0 / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.422, allocations: 4 kB / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.298e-05/0.4221, allocations: 102.6 kB / 405.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4221, allocations: 0 / 405.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.4223, allocations: 8 kB / 405.5 MB, free: 3.695 MB / 318.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 9.98e-05/0.4224, allocations: 103.2 kB / 405.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.4226, allocations: 35.86 kB / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4226, allocations: 0 / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.4226, allocations: 15.98 kB / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.423, allocations: 15.97 kB / 405.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.4233, allocations: 158.3 kB / 405.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4236, allocations: 0.6964 MB / 406.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.427e-05/0.4236, allocations: 0 / 406.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.4236, allocations: 11.44 kB / 406.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4236, allocations: 0 / 406.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Templates: time 0.002913/0.4266, allocations: 498.9 kB / 407 MB, free: 2.117 MB / 318.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches