Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 96.36 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00096/0.0009601, allocations: 175.7 kB / 16.61 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 222.8 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07911/0.07911, allocations: 12.6 MB / 283.6 MB, free: 8.941 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006995/0.0006995, allocations: 16 kB / 344.5 MB, free: 21.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09998, allocations: 50.38 MB / 394.9 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock): time 0.001095/0.1011, allocations: 0.5489 MB / 395.4 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.1014, allocations: 115.7 kB / 395.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.1015, allocations: 4 kB / 395.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.036e-05/0.1016, allocations: 7.938 kB / 395.6 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1017, allocations: 7.984 kB / 395.6 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1019, allocations: 27.91 kB / 395.6 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.102, allocations: 31.91 kB / 395.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1022, allocations: 23.97 kB / 395.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.1022, allocations: 11.92 kB / 395.7 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.1023, allocations: 23.86 kB / 395.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1023, allocations: 0 / 395.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.1023, allocations: 0 / 395.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1024, allocations: 15.98 kB / 395.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.1024, allocations: 33.64 kB / 395.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.497e-05/0.1025, allocations: 39.92 kB / 395.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1025, allocations: 0 / 395.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1025, allocations: 0 / 395.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1025, allocations: 4 kB / 395.8 MB, free: 1.949 MB / 286.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.0004967/0.103, allocations: 367.3 kB / 396.1 MB, free: 1.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1031, allocations: 8.031 kB / 396.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1031, allocations: 7.906 kB / 396.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1033, allocations: 194.8 kB / 396.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1034, allocations: 7.953 kB / 396.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1034, allocations: 8 kB / 396.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1037, allocations: 135.2 kB / 396.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1037, allocations: 0 / 396.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1037, allocations: 0 / 396.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1037, allocations: 3.938 kB / 396.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.1038, allocations: 27.97 kB / 396.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1039, allocations: 185.5 kB / 396.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1041, allocations: 70.67 kB / 396.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-06/0.1041, allocations: 0 / 396.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1042, allocations: 38.53 kB / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.1042, allocations: 0 / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002059/0.1044, allocations: 105.7 kB / 396.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1044, allocations: 63.41 kB / 397 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1046, allocations: 137.1 kB / 397.1 MB, free: 432 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1046, allocations: 25.7 kB / 397.1 MB, free: 400 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.1047, allocations: 96.12 kB / 397.2 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.1047, allocations: 4 kB / 397.2 MB, free: 296 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.1047, allocations: 0 / 397.2 MB, free: 296 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1049, allocations: 322.8 kB / 397.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.1049, allocations: 7.938 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.1049, allocations: 62.86 kB / 397.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.105, allocations: 20 kB / 397.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.105, allocations: 0 / 397.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00013/0.1051, allocations: 97.34 kB / 397.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1052, allocations: 8 kB / 397.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1052, allocations: 0 / 397.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1052, allocations: 4 kB / 397.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.1053, allocations: 16.19 kB / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1053, allocations: 8 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.1053, allocations: 11.94 kB / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1053, allocations: 4 kB / 397.8 MB, free: 15.7 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,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1055, allocations: 133.6 kB / 397.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1056, allocations: 85.39 kB / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1056, allocations: 20.7 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1056, allocations: 0 / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1056, allocations: 0 / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1056, allocations: 7.938 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1058, allocations: 173.6 kB / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1058, allocations: 0 / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.1058, allocations: 12 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1059, allocations: 0 / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1059, allocations: 3.953 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1059, allocations: 0 / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1059, allocations: 0 / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.106, allocations: 112.9 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1061, allocations: 104.9 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1061, allocations: 0 / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.1062, allocations: 4.141 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-06/0.1062, allocations: 7.984 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1062, allocations: 7.938 kB / 398.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.1063, allocations: 107.2 kB / 398.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1063, allocations: 0 / 398.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.1065, allocations: 8 kB / 398.6 MB, free: 14.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.384e-05/0.1066, allocations: 99.25 kB / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1067, allocations: 47.91 kB / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1067, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1067, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.107, allocations: 43.95 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.1073, allocations: 187.7 kB / 398.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1076, allocations: 0.7043 MB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.424e-05/0.1076, allocations: 4.672 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.1076, allocations: 11.44 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1076, allocations: 0 / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Templates: time 0.002801/0.1105, allocations: 0.611 MB / 400.3 MB, free: 13.05 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches