Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 172.9 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205 MB / 222.5 MB, free: 9.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 99.08 kB / 270.5 MB, free: 8.648 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0654/0.0654, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06814/0.06852, allocations: 49.97 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001319/0.06987, allocations: 1.27 MB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006091/0.0705, allocations: 0.5308 MB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.07058, allocations: 4 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.07063, allocations: 7.938 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.07074, allocations: 7.922 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.07096, allocations: 47.89 kB / 443.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.908e-05/0.07104, allocations: 39.8 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.07113, allocations: 15.98 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.07119, allocations: 15.94 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.07125, allocations: 23.84 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.07127, allocations: 4 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.07129, allocations: 4 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.07133, allocations: 11.92 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.07136, allocations: 19.81 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.856e-05/0.07143, allocations: 39.92 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.07144, allocations: 0 / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.07144, allocations: 0 / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.07145, allocations: 0 / 443.7 MB, free: 14.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003395/0.0718, allocations: 363.5 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.07184, allocations: 12.03 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.07187, allocations: 12.84 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.07201, allocations: 196 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-06/0.07202, allocations: 8.359 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.07204, allocations: 4.375 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.0723, allocations: 113.3 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.07232, allocations: 0 / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.07233, allocations: 0 / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.07234, allocations: 0 / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/0.07242, allocations: 27.92 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.07264, allocations: 269.7 kB / 444.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.07271, allocations: 41.2 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.07277, allocations: 25.72 kB / 444.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.07279, allocations: 0 / 444.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.07281, allocations: 42.53 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.07281, allocations: 0 / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.07302, allocations: 73.53 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.07306, allocations: 85.34 kB / 445 MB, free: 12.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.07314, allocations: 138.2 kB / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.07315, allocations: 25.7 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.07319, allocations: 88.14 kB / 445.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.0732, allocations: 3.984 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.07323, allocations: 17.7 kB / 445.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.07327, allocations: 310.8 kB / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.07331, allocations: 8 kB / 445.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.07335, allocations: 29.7 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.07342, allocations: 41.58 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.07343, allocations: 0 / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.848e-05/0.07353, allocations: 61.66 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.07355, allocations: 7.938 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.07356, allocations: 0 / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.07357, allocations: 0 / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.07364, allocations: 11.98 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.07365, allocations: 0 / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.07369, allocations: 4 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.0737, allocations: 0 / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.884e-05/0.07376, allocations: 126.7 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.0738, allocations: 37.61 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.07383, allocations: 15.83 kB / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.07384, allocations: 0 / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.07385, allocations: 3.984 kB / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.07386, allocations: 0 / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.07396, allocations: 169.6 kB / 446 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.07397, allocations: 0 / 446 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.07402, allocations: 11.97 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.07403, allocations: 3.938 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.07404, allocations: 8 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.07405, allocations: 3.938 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.07405, allocations: 0 / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.07417, allocations: 172.2 kB / 446.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.07421, allocations: 93 kB / 446.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.07423, allocations: 0 / 446.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.0743, allocations: 4 kB / 446.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.07433, allocations: 0 / 446.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.07434, allocations: 3.984 kB / 446.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.07439, allocations: 107.3 kB / 446.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07439, allocations: 0 / 446.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.0746, allocations: 4 kB / 446.4 MB, free: 11.23 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 5.437e-05/0.07466, allocations: 99.22 kB / 446.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.07477, allocations: 23.98 kB / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.07478, allocations: 0 / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.07482, allocations: 11.98 kB / 446.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.07514, allocations: 28.23 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.07541, allocations: 202.8 kB / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.07551, allocations: 0.6926 MB / 447.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.07554, allocations: 11.44 kB / 447.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.07555, allocations: 4 kB / 447.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of Templates: time 0.00157/0.07712, allocations: 0.7109 MB / 448.2 MB, free: 9.395 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches