Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 104 kB / 16.45 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 192.1 kB / 17.39 MB, free: 5.656 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.58/1.58, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07455/0.07455, allocations: 12.58 MB / 283.2 MB, free: 15.4 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.002101/0.002101, allocations: 91.27 kB / 394.1 MB, free: 45.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 49.41 MB / 443.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample): time 0.002798/0.116, allocations: 1.547 MB / 445.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1171, allocations: 0.5268 MB / 445.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1173, allocations: 0 / 445.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.1173, allocations: 3.938 kB / 445.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1175, allocations: 19.84 kB / 445.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1179, allocations: 51.83 kB / 445.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.118, allocations: 43.8 kB / 445.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1182, allocations: 24.09 kB / 445.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.1183, allocations: 23.91 kB / 445.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.1184, allocations: 23.86 kB / 445.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.1184, allocations: 4 kB / 445.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.1184, allocations: 0 / 445.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.1185, allocations: 15.88 kB / 445.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.1185, allocations: 35.8 kB / 445.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1187, allocations: 51.75 kB / 445.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1187, allocations: 4 kB / 445.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1187, allocations: 0 / 445.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1187, allocations: 0 / 445.9 MB, free: 14.23 MB / 334.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.000613/0.1193, allocations: 371.1 kB / 446.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1194, allocations: 12.03 kB / 446.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1194, allocations: 12.84 kB / 446.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1197, allocations: 200.2 kB / 446.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1197, allocations: 4.375 kB / 446.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1197, allocations: 4.375 kB / 446.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.12, allocations: 109 kB / 446.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1201, allocations: 0 / 446.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1201, allocations: 4 kB / 446.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1201, allocations: 0 / 446.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.1202, allocations: 19.98 kB / 446.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.1205, allocations: 265.7 kB / 446.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.433e-05/0.1206, allocations: 53.08 kB / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.1207, allocations: 25.77 kB / 447 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1207, allocations: 0 / 447 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1208, allocations: 38.55 kB / 447 MB, free: 12.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1208, allocations: 3.938 kB / 447 MB, free: 12.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.121, allocations: 69.81 kB / 447.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.1211, allocations: 85.03 kB / 447.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1212, allocations: 137.8 kB / 447.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1213, allocations: 25.7 kB / 447.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.1213, allocations: 96.12 kB / 447.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.1214, allocations: 0 / 447.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1214, allocations: 13.72 kB / 447.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1215, allocations: 318.8 kB / 447.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.1216, allocations: 12.02 kB / 447.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.1216, allocations: 21.73 kB / 447.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.1217, allocations: 25.7 kB / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1217, allocations: 0 / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.1218, allocations: 65.58 kB / 447.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1218, allocations: 4 kB / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1219, allocations: 0 / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1219, allocations: 0 / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.122, allocations: 8 kB / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.122, allocations: 4 kB / 447.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.122, allocations: 3.984 kB / 447.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.122, allocations: 0 / 447.9 MB, free: 11.99 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.1222, allocations: 125.8 kB / 448 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1223, allocations: 37.61 kB / 448 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.1223, allocations: 15.81 kB / 448.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1223, allocations: 0 / 448.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1223, allocations: 4 kB / 448.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1223, allocations: 3.938 kB / 448.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.1225, allocations: 169.6 kB / 448.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1225, allocations: 0 / 448.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.1226, allocations: 4 kB / 448.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1226, allocations: 7.984 kB / 448.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1226, allocations: 4.031 kB / 448.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1226, allocations: 0 / 448.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1226, allocations: 0 / 448.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1228, allocations: 168.2 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.1228, allocations: 93 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1229, allocations: 0 / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.1229, allocations: 12.02 kB / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.123, allocations: 3.938 kB / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.123, allocations: 0 / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1231, allocations: 115.9 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1231, allocations: 0 / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.1233, allocations: 4 kB / 448.6 MB, free: 11.13 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.699e-05/0.1234, allocations: 91.25 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1236, allocations: 31.92 kB / 448.8 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1236, allocations: 0 / 448.8 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.1236, allocations: 11.98 kB / 448.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1239, allocations: 23.91 kB / 448.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.1243, allocations: 163.3 kB / 449 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1245, allocations: 0.6926 MB / 449.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.1246, allocations: 0 / 449.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.1246, allocations: 15.42 kB / 449.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1246, allocations: 0 / 449.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Templates: time 0.00319/0.1278, allocations: 0.5709 MB / 450.2 MB, free: 9.473 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches