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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 101.2 kB / 15.73 MB, free: 436 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.00106/0.00106, allocations: 180.9 kB / 16.62 MB, free: 6.422 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.599/1.599, allocations: 205.4 MB / 222.8 MB, free: 5.676 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.08147/0.08147, allocations: 12.61 MB / 283.6 MB, free: 8.699 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.0007269/0.000727, allocations: 20 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 50.38 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.002343/0.1173, allocations: 1.236 MB / 396.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1185, allocations: 0.5078 MB / 396.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1186, allocations: 3.938 kB / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.1187, allocations: 7.938 kB / 396.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1188, allocations: 11.97 kB / 396.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1192, allocations: 43.83 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1193, allocations: 31.91 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1195, allocations: 11.98 kB / 396.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.1196, allocations: 15.92 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.1197, allocations: 19.92 kB / 396.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1197, allocations: 4 kB / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.1197, allocations: 0 / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1198, allocations: 11.92 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.1198, allocations: 37.64 kB / 396.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.724e-05/0.1199, allocations: 35.94 kB / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1199, allocations: 0 / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1199, allocations: 0 / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1199, allocations: 0 / 396.9 MB, free: 0.7969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004983/0.1204, allocations: 371.2 kB / 397.2 MB, free: 396 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1205, allocations: 16.02 kB / 397.2 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.1205, allocations: 7.906 kB / 397.3 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1208, allocations: 194.8 kB / 397.4 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1208, allocations: 4 kB / 397.4 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1208, allocations: 4 kB / 397.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.1211, allocations: 109 kB / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1211, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1212, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1212, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1213, allocations: 27.92 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1216, allocations: 265.8 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.1217, allocations: 49.14 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1218, allocations: 0 / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1218, allocations: 38.56 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1218, allocations: 0 / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002889/0.1221, allocations: 77.58 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.1222, allocations: 77.11 kB / 398.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1224, allocations: 142.1 kB / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1224, allocations: 25.7 kB / 398.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.1224, allocations: 92.38 kB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1225, allocations: 7.906 kB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.1225, allocations: 0 / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1226, allocations: 314.8 kB / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.1227, allocations: 19.92 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.1228, allocations: 13.72 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.1228, allocations: 23.98 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1228, allocations: 0 / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.123, allocations: 61.56 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.123, allocations: 8 kB / 398.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.123, allocations: 0 / 398.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.123, allocations: 0 / 398.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.1231, allocations: 16.05 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1231, allocations: 0 / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.1232, allocations: 3.953 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.1232, allocations: 4 kB / 398.8 MB, free: 14.61 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.1233, allocations: 113.6 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.1234, allocations: 45.59 kB / 399 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.1234, allocations: 3.875 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1234, allocations: 4 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.1235, allocations: 4.031 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1235, allocations: 0 / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1237, allocations: 169.6 kB / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1237, allocations: 4 kB / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.1238, allocations: 11.92 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1238, allocations: 0 / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1238, allocations: 0 / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.1238, allocations: 4 kB / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1238, allocations: 0 / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.124, allocations: 178 kB / 399.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.1241, allocations: 93 kB / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1241, allocations: 4 kB / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.1242, allocations: 0 / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.1243, allocations: 8.031 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1243, allocations: 0 / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.1244, allocations: 111.9 kB / 399.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.1244, allocations: 0 / 399.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1246, allocations: 7.938 kB / 399.5 MB, free: 13.75 MB / 302.1 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 (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.0001021/0.1247, allocations: 91.25 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1249, allocations: 28.05 kB / 399.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1249, allocations: 4 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.1249, allocations: 11.98 kB / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1253, allocations: 15.97 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.1257, allocations: 185.8 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1261, allocations: 0.6964 MB / 400.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.1262, allocations: 7.984 kB / 400.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.1262, allocations: 7.438 kB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1262, allocations: 0 / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Templates: time 0.003576/0.1298, allocations: 471.6 kB / 401 MB, free: 12.19 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/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