Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 179.9 kB / 16.45 MB, free: 5.68 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.282/1.282, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.0008214/0.0008212, allocations: 84.86 kB / 270.9 MB, free: 8.367 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.07238/0.07238, allocations: 12.57 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 20 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0731/0.07354, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.001874/0.07545, allocations: 1.54 MB / 444.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.07684, allocations: 1.007 MB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.07701, allocations: 4 kB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.07734, allocations: 55.8 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.0776, allocations: 71.72 kB / 445.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.07827, allocations: 211.5 kB / 445.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.07848, allocations: 143.6 kB / 446.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.0786, allocations: 25.53 kB / 446.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.07871, allocations: 63.64 kB / 446.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.07882, allocations: 63.75 kB / 446.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.07885, allocations: 4 kB / 446.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.07901, allocations: 51.91 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.07908, allocations: 51.81 kB / 446.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.07913, allocations: 49.64 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.07933, allocations: 164 kB / 446.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.07934, allocations: 7.875 kB / 446.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07935, allocations: 0 / 446.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.07936, allocations: 0 / 446.5 MB, free: 12.28 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006285/0.07999, allocations: 0.4922 MB / 447 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.08004, allocations: 12.03 kB / 447 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.08011, allocations: 23.72 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.08044, allocations: 290.4 kB / 447.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.08048, allocations: 4 kB / 447.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.0805, allocations: 11.94 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.08082, allocations: 155.6 kB / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.08084, allocations: 0 / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.08086, allocations: 3.938 kB / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.08087, allocations: 0 / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.08099, allocations: 39.92 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.08143, allocations: 378.4 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.08164, allocations: 115.9 kB / 448 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.08173, allocations: 46.56 kB / 448.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.08176, allocations: 8 kB / 448.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.08194, allocations: 79.31 kB / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.08195, allocations: 0 / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003372/0.08229, allocations: 145.3 kB / 448.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.08235, allocations: 174.3 kB / 448.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.0826, allocations: 322.7 kB / 448.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.08263, allocations: 33.7 kB / 448.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.08269, allocations: 128 kB / 448.9 MB, free: 9.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.08272, allocations: 19.86 kB / 449 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.08273, allocations: 4 kB / 449 MB, free: 9.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.08279, allocations: 330.8 kB / 449.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.08286, allocations: 23.98 kB / 449.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.08294, allocations: 86.84 kB / 449.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.08302, allocations: 31.92 kB / 449.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.08303, allocations: 4 kB / 449.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001864/0.08322, allocations: 121.4 kB / 449.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.08325, allocations: 8 kB / 449.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.08326, allocations: 0 / 449.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.08328, allocations: 4 kB / 449.6 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.08338, allocations: 19.92 kB / 449.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.0834, allocations: 4 kB / 449.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.08348, allocations: 8.266 kB / 449.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.0835, allocations: 12.12 kB / 449.6 MB, free: 8.863 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001028/0.0836, allocations: 162.4 kB / 449.8 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.08367, allocations: 65.36 kB / 449.8 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.08372, allocations: 25.7 kB / 449.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.08373, allocations: 4 kB / 449.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.08374, allocations: 0 / 449.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.08375, allocations: 0 / 449.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.08389, allocations: 245.4 kB / 450.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0839, allocations: 4.109 kB / 450.1 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.08397, allocations: 15.98 kB / 450.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.08398, allocations: 3.938 kB / 450.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.08399, allocations: 0 / 450.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.084, allocations: 7.984 kB / 450.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.084, allocations: 0 / 450.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.08421, allocations: 166.5 kB / 450.3 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.08429, allocations: 116.8 kB / 450.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.08432, allocations: 7.984 kB / 450.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.08439, allocations: 4 kB / 450.4 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.08445, allocations: 11.98 kB / 450.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.08447, allocations: 4 kB / 450.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.08464, allocations: 233.9 kB / 450.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08465, allocations: 0 / 450.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.0849, allocations: 35.98 kB / 450.7 MB, free: 7.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.000744/0.08566, allocations: 437.1 kB / 451.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.08586, allocations: 71.84 kB / 451.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.08587, allocations: 0 / 451.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.08594, allocations: 27.98 kB / 451.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.0863, allocations: 60.89 kB / 451.3 MB, free: 7.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.0868, allocations: 425.8 kB / 451.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.08695, allocations: 0.74 MB / 452.4 MB, free: 5.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.087, allocations: 23.42 kB / 452.5 MB, free: 5.836 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.08701, allocations: 4 kB / 452.5 MB, free: 5.832 MB / 298.7 MB Notification: Performance of Templates: time 0.004151/0.09117, allocations: 2.871 MB / 455.3 MB, free: 2.957 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches