Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008728/0.0008728, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002135/0.0002135, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07887, allocations: 51.51 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.0009692/0.07988, allocations: 0.5628 MB / 359.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.08019, allocations: 115.7 kB / 360 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.08027, allocations: 0 / 360 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.256e-05/0.08035, allocations: 3.938 kB / 360 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.08045, allocations: 11.92 kB / 360 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.08065, allocations: 39.97 kB / 360.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.08074, allocations: 35.86 kB / 360.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.08084, allocations: 31.95 kB / 360.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.08087, allocations: 11.88 kB / 360.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.08094, allocations: 23.86 kB / 360.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.08096, allocations: 0 / 360.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.08097, allocations: 4 kB / 360.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.08102, allocations: 11.92 kB / 360.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.08107, allocations: 45.52 kB / 360.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.08117, allocations: 63.72 kB / 360.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.08118, allocations: 0 / 360.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08118, allocations: 0 / 360.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.0812, allocations: 4 kB / 360.3 MB, free: 12.24 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000348/0.08155, allocations: 363.5 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.08159, allocations: 8.031 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.08163, allocations: 42.73 kB / 360.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.08166, allocations: 8.844 kB / 360.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.08182, allocations: 192.1 kB / 360.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.08184, allocations: 4.312 kB / 360.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.08185, allocations: 4.375 kB / 360.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.0821, allocations: 147.8 kB / 361.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.08212, allocations: 3.938 kB / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.08213, allocations: 3.938 kB / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.08214, allocations: 0 / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.08219, allocations: 23.98 kB / 361.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.08232, allocations: 173.6 kB / 361.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.08245, allocations: 74.7 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.08252, allocations: 40.89 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.08254, allocations: 4 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.08256, allocations: 30.56 kB / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.08257, allocations: 0 / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000179/0.08275, allocations: 105.5 kB / 361.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.0828, allocations: 63.41 kB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.08291, allocations: 144.4 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.08293, allocations: 25.7 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.08297, allocations: 88.14 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.08299, allocations: 7.984 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.08302, allocations: 13.72 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.08311, allocations: 318.8 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.08313, allocations: 12 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.08318, allocations: 66.73 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.08326, allocations: 70.81 kB / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.08326, allocations: 0 / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001215/0.08339, allocations: 101.6 kB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.08341, allocations: 7.938 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.08342, allocations: 4 kB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.08343, allocations: 0 / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.08351, allocations: 23.92 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.08352, allocations: 0 / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.08356, allocations: 11.92 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.08357, allocations: 8 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.413e-05/0.08366, allocations: 121.8 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.08376, allocations: 101.6 kB / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.0838, allocations: 12.72 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.08381, allocations: 4 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.08382, allocations: 0 / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.08382, allocations: 0 / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.08392, allocations: 169.6 kB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.08392, allocations: 0 / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.08399, allocations: 15.98 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.084, allocations: 3.938 kB / 362.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.08401, allocations: 4 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.08402, allocations: 8 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.08403, allocations: 0 / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.08415, allocations: 108.9 kB / 363 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.08421, allocations: 96.94 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.08423, allocations: 7.984 kB / 363.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.08426, allocations: 4 kB / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-06/0.08427, allocations: 0 / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.08428, allocations: 4 kB / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.041e-05/0.08434, allocations: 107.3 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08435, allocations: 0 / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001911/0.08454, allocations: 11.98 kB / 363.2 MB, free: 8.934 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003818/0.08493, allocations: 0.6791 MB / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.694e-05/0.08504, allocations: 51.98 kB / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.08505, allocations: 192 / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.08505, allocations: 0 / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.08533, allocations: 55.95 kB / 364 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.0863, allocations: 1.38 MB / 365.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.0865, allocations: 0.6926 MB / 366.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.08654, allocations: 8.656 kB / 366.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.08658, allocations: 23.44 kB / 366.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08658, allocations: 0 / 366.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.09698, allocations: 1.57 MB / 367.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.09723, allocations: 214.4 kB / 367.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.674, allocations: 8 kB / 367.9 MB, free: 4.176 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches