Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007492/0.0007493, allocations: 102.6 kB / 16.07 MB, free: 32 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.0007605/0.0007607, allocations: 180.9 kB / 16.96 MB, free: 6.902 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.229/1.229, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.06219/0.06219, allocations: 12.6 MB / 284 MB, free: 8.59 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.0006704/0.0006704, allocations: 27.97 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07727, allocations: 50.38 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001121/0.07843, allocations: 0.6827 MB / 396.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.07872, allocations: 107.7 kB / 396.3 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.07882, allocations: 4 kB / 396.3 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.07885, allocations: 3.938 kB / 396.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.07896, allocations: 0 / 396.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.07917, allocations: 43.89 kB / 396.4 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.07926, allocations: 35.86 kB / 396.4 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.07936, allocations: 20.17 kB / 396.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.07939, allocations: 7.938 kB / 396.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.07943, allocations: 19.86 kB / 396.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.07945, allocations: 0 / 396.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.07946, allocations: 4 kB / 396.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.07951, allocations: 11.92 kB / 396.5 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.07957, allocations: 53.52 kB / 396.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.735e-05/0.07965, allocations: 51.73 kB / 396.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.07966, allocations: 0 / 396.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07966, allocations: 0 / 396.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.07967, allocations: 0 / 396.6 MB, free: 1.371 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.0003778/0.08006, allocations: 367.4 kB / 396.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.0801, allocations: 8.031 kB / 397 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.08015, allocations: 20.83 kB / 397 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.08033, allocations: 188.1 kB / 397.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.08035, allocations: 4.375 kB / 397.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.08037, allocations: 8.375 kB / 397.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.08061, allocations: 127.8 kB / 397.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.08063, allocations: 3.938 kB / 397.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.08064, allocations: 3.938 kB / 397.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.08065, allocations: 3.984 kB / 397.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.08069, allocations: 16 kB / 397.3 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.08082, allocations: 169.7 kB / 397.5 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.08094, allocations: 66.69 kB / 397.6 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.081, allocations: 36.86 kB / 397.6 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.08102, allocations: 0 / 397.6 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.08105, allocations: 42.55 kB / 397.6 MB, free: 164 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 7.11e-07/0.08105, allocations: 0 / 397.6 MB, free: 164 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001654/0.08122, allocations: 93.66 kB / 397.7 MB, free: 64 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.08128, allocations: 63.34 kB / 397.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.08139, allocations: 137 kB / 397.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.0814, allocations: 25.7 kB / 397.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.08144, allocations: 84.14 kB / 398 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.08146, allocations: 11.89 kB / 398 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.08149, allocations: 13.72 kB / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.08159, allocations: 326.8 kB / 398.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.08161, allocations: 8 kB / 398.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.08166, allocations: 54.86 kB / 398.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.08173, allocations: 74.75 kB / 398.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.08174, allocations: 0 / 398.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001114/0.08186, allocations: 89.5 kB / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.08188, allocations: 7.938 kB / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.08189, allocations: 4 kB / 398.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.08191, allocations: 7.984 kB / 398.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.08197, allocations: 12 kB / 398.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.08199, allocations: 0 / 398.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.08202, allocations: 7.906 kB / 398.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.08204, allocations: 12.25 kB / 398.6 MB, free: 15.04 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: 0 () * 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 7.693e-05/0.08212, allocations: 129.7 kB / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.0822, allocations: 69.55 kB / 398.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.08224, allocations: 16.7 kB / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.08225, allocations: 0 / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.08225, allocations: 0 / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.08226, allocations: 0 / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.08237, allocations: 173.6 kB / 399 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08237, allocations: 3.938 kB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.08243, allocations: 11.94 kB / 399 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.08244, allocations: 11.94 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.08245, allocations: 4 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.08246, allocations: 0 / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.08246, allocations: 0 / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.08257, allocations: 97.02 kB / 399.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.08263, allocations: 96.94 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.08265, allocations: 11.98 kB / 399.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.08268, allocations: 4 kB / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.08269, allocations: 4 kB / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.08269, allocations: 0 / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.086e-05/0.08276, allocations: 103.3 kB / 399.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08276, allocations: 0 / 399.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000185/0.08295, allocations: 8 kB / 399.4 MB, free: 14.21 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: 0 () * 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 7.14e-05/0.08303, allocations: 95.19 kB / 399.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.08313, allocations: 40.55 kB / 399.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08314, allocations: 8.062 kB / 399.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.08314, allocations: 3.938 kB / 399.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.08343, allocations: 44.42 kB / 399.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.08369, allocations: 183.4 kB / 399.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.08391, allocations: 0.7051 MB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.08394, allocations: 4 kB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.08396, allocations: 7.438 kB / 400.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of SimCode: time 2.054e-06/0.08397, allocations: 0 / 400.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of Templates: time 0.002248/0.08622, allocations: 0.5753 MB / 401 MB, free: 12.49 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches