Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 95.89 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.001515/0.001515, allocations: 180.9 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.538/1.538, allocations: 205.4 MB / 222.8 MB, free: 5.68 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.08991/0.08991, allocations: 12.6 MB / 283.7 MB, free: 8.711 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.000681/0.000681, allocations: 20 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1125, allocations: 50.39 MB / 394.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001835/0.1143, allocations: 1.244 MB / 396.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.1151, allocations: 492 kB / 396.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.1152, allocations: 0 / 396.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.1152, allocations: 7.938 kB / 396.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.1153, allocations: 7.984 kB / 396.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1156, allocations: 39.89 kB / 396.7 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.1157, allocations: 35.84 kB / 396.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1158, allocations: 7.984 kB / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.1158, allocations: 19.92 kB / 396.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.1159, allocations: 15.92 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1159, allocations: 4 kB / 396.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.116, allocations: 7.938 kB / 396.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.116, allocations: 11.92 kB / 396.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.116, allocations: 33.7 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.327e-05/0.1161, allocations: 35.88 kB / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1161, allocations: 0 / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1161, allocations: 0 / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1161, allocations: 4 kB / 396.8 MB, free: 0.8359 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.0004342/0.1166, allocations: 363.3 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1166, allocations: 16.03 kB / 397.2 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.1166, allocations: 7.906 kB / 397.2 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1168, allocations: 198.7 kB / 397.4 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1169, allocations: 4 kB / 397.4 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1169, allocations: 0 / 397.4 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1171, allocations: 113 kB / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1171, allocations: 0 / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1172, allocations: 0 / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1172, allocations: 0 / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.1173, allocations: 19.92 kB / 397.6 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.1176, allocations: 269.8 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.1177, allocations: 49.2 kB / 397.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1177, allocations: 7.984 kB / 397.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1177, allocations: 30.56 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1177, allocations: 0 / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000232/0.118, allocations: 81.52 kB / 398 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.118, allocations: 77.11 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1181, allocations: 138.1 kB / 398.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1182, allocations: 29.7 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.1182, allocations: 92.38 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.1182, allocations: 3.906 kB / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.1182, allocations: 4 kB / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1184, allocations: 314.8 kB / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.1184, allocations: 7.984 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.1185, allocations: 25.66 kB / 398.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.1185, allocations: 16.05 kB / 398.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1185, allocations: 0 / 398.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.1186, allocations: 53.69 kB / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1187, allocations: 8 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.1187, allocations: 3.938 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1187, allocations: 0 / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.1188, allocations: 12.05 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1188, allocations: 4 kB / 398.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.1188, allocations: 3.953 kB / 398.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.1188, allocations: 7.938 kB / 398.8 MB, free: 14.66 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 8.362e-05/0.1189, allocations: 117.6 kB / 398.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.119, allocations: 41.59 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.119, allocations: 11.81 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.119, allocations: 4.031 kB / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.119, allocations: 4 kB / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.119, allocations: 0 / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1192, allocations: 169.6 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1192, allocations: 0 / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.1193, allocations: 15.92 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1193, allocations: 0 / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1193, allocations: 4 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1193, allocations: 0 / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1193, allocations: 4 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1195, allocations: 178 kB / 399.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.1196, allocations: 89.02 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1196, allocations: 3.984 kB / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1197, allocations: 8.031 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1197, allocations: 4 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1197, allocations: 0 / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.1198, allocations: 111.9 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1198, allocations: 0 / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000207/0.12, allocations: 4 kB / 399.5 MB, free: 13.8 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 7.972e-05/0.1201, allocations: 95.19 kB / 399.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.1202, allocations: 27.98 kB / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1202, allocations: 0 / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.1203, allocations: 11.98 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1206, allocations: 16.03 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.121, allocations: 185.8 kB / 399.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1214, allocations: 0.6965 MB / 400.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.1214, allocations: 4 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.1215, allocations: 7.438 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1215, allocations: 0 / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Templates: time 0.003287/0.1248, allocations: 471.6 kB / 401 MB, free: 12.24 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches