Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 107 kB / 16.45 MB, free: 6.445 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.002169/0.002169, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.799/1.799, 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.08523/0.08523, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.001827/0.001827, allocations: 91.25 kB / 394.2 MB, free: 45.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1136, allocations: 49.4 MB / 443.6 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.003201/0.1168, allocations: 1.571 MB / 445.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.1178, allocations: 0.5229 MB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.1179, allocations: 0 / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.118, allocations: 11.86 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1182, allocations: 15.88 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1184, allocations: 47.83 kB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1186, allocations: 55.83 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1187, allocations: 20.11 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.1187, allocations: 19.92 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.1188, allocations: 19.86 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1188, allocations: 7.938 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.1189, allocations: 4 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1189, allocations: 19.91 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.119, allocations: 23.81 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1191, allocations: 59.75 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1191, allocations: 0 / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1191, allocations: 0 / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1191, allocations: 0 / 446 MB, free: 14.05 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.0005509/0.1197, allocations: 379.1 kB / 446.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.1198, allocations: 8.031 kB / 446.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.1198, allocations: 8.844 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1201, allocations: 204.1 kB / 446.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1201, allocations: 4.375 kB / 446.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1202, allocations: 8.312 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1205, allocations: 117.9 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1205, allocations: 7.984 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1205, allocations: 4 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1205, allocations: 0 / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.1206, allocations: 23.92 kB / 446.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1211, allocations: 270.5 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1212, allocations: 75.78 kB / 447 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.1213, allocations: 38.62 kB / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1214, allocations: 3.984 kB / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.1214, allocations: 34.56 kB / 447.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1214, allocations: 0 / 447.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003/0.1217, allocations: 89.44 kB / 447.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.1218, allocations: 110.8 kB / 447.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.122, allocations: 134.2 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.122, allocations: 29.7 kB / 447.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.1221, allocations: 96.12 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.1221, allocations: 0 / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1221, allocations: 21.62 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1222, allocations: 322.8 kB / 447.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.1223, allocations: 8 kB / 447.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.1224, allocations: 35.44 kB / 448 MB, free: 11.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.876e-05/0.1225, allocations: 47.36 kB / 448 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1225, allocations: 4 kB / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000137/0.1226, allocations: 69.55 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1226, allocations: 8 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1226, allocations: 0 / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1227, allocations: 0 / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.1227, allocations: 8 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1228, allocations: 4 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1228, allocations: 7.922 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1228, allocations: 4 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.713e-05/0.1229, allocations: 121.9 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.123, allocations: 57.53 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.1231, allocations: 11.83 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1231, allocations: 4 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1231, allocations: 0 / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1231, allocations: 0 / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1233, allocations: 185.4 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1233, allocations: 0 / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.1234, allocations: 8 kB / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1234, allocations: 64 / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1234, allocations: 19.98 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1234, allocations: 3.938 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1234, allocations: 0 / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1236, allocations: 177.1 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.1237, allocations: 97 kB / 448.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1237, allocations: 7.938 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.1238, allocations: 0 / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.1238, allocations: 4 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1238, allocations: 0 / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.1239, allocations: 115.9 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1239, allocations: 0 / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1242, allocations: 8 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 0.0001072/0.1243, allocations: 99.19 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1244, allocations: 35.91 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1245, allocations: 0 / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.1245, allocations: 12 kB / 449 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1249, allocations: 23.95 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.1253, allocations: 181.3 kB / 449.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1256, allocations: 0.6963 MB / 449.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.1257, allocations: 7.734 kB / 450 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.1257, allocations: 11.44 kB / 450 MB, free: 9.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1257, allocations: 0 / 450 MB, free: 9.57 MB / 334.1 MB Notification: Performance of Templates: time 0.003517/0.1293, allocations: 0.6408 MB / 450.6 MB, free: 8.93 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches