Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 107.1 kB / 16.45 MB, free: 6.5 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.001042/0.001042, allocations: 186.4 kB / 17.39 MB, free: 5.688 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.611/1.611, allocations: 205.1 MB / 223.3 MB, free: 12.19 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.08147/0.08147, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001801/0.001801, allocations: 81.42 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1042, allocations: 49.4 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.002997/0.1073, allocations: 1.571 MB / 445.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.1083, allocations: 0.5152 MB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.1084, allocations: 3.938 kB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/0.1084, allocations: 3.938 kB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1086, allocations: 11.88 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1089, allocations: 51.83 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.109, allocations: 47.84 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1091, allocations: 20.17 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1092, allocations: 23.91 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.1093, allocations: 19.86 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1093, allocations: 4 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.1093, allocations: 0 / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.1094, allocations: 19.92 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.1095, allocations: 23.81 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1096, allocations: 59.56 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1096, allocations: 4 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1096, allocations: 0 / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1096, allocations: 4 kB / 445.9 MB, free: 14.08 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.0005646/0.1102, allocations: 379.1 kB / 446.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1103, allocations: 12.03 kB / 446.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1103, allocations: 8.891 kB / 446.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1106, allocations: 200.2 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1106, allocations: 4.375 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1106, allocations: 4.375 kB / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.1109, allocations: 122 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1109, allocations: 3.938 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1109, allocations: 0 / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.111, allocations: 3.938 kB / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.111, allocations: 23.97 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.1116, allocations: 290.5 kB / 447 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1118, allocations: 71.84 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.1118, allocations: 30.58 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1119, allocations: 0 / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1119, allocations: 42.55 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1119, allocations: 0 / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000269/0.1122, allocations: 89.69 kB / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.1123, allocations: 102.8 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1124, allocations: 137.8 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1124, allocations: 33.69 kB / 447.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1125, allocations: 84.14 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1125, allocations: 4 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1126, allocations: 29.86 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1127, allocations: 322.8 kB / 447.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.1128, allocations: 4 kB / 447.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.1128, allocations: 35.42 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/0.1129, allocations: 51.36 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1129, allocations: 0 / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.1131, allocations: 69.55 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1131, allocations: 4 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1131, allocations: 0 / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1131, allocations: 4.125 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.1132, allocations: 19.98 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1133, allocations: 0 / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.1133, allocations: 7.953 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.1133, allocations: 0 / 448.1 MB, free: 11.63 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 0.0001685/0.1135, allocations: 121.8 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.1136, allocations: 53.58 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.1136, allocations: 15.83 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1136, allocations: 8.047 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.1136, allocations: 0 / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1136, allocations: 7.938 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1139, allocations: 173.5 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1139, allocations: 0 / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.1139, allocations: 11.98 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1139, allocations: 4 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.114, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.114, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.114, allocations: 3.938 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1142, allocations: 189.2 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1142, allocations: 92.98 kB / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1143, allocations: 0 / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1143, allocations: 4 kB / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1144, allocations: 4 kB / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1144, allocations: 11.98 kB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.1145, allocations: 104 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1145, allocations: 0 / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1147, allocations: 8 kB / 448.9 MB, free: 10.73 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.0001002/0.1148, allocations: 95.23 kB / 449 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.115, allocations: 35.92 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.115, allocations: 256 / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.115, allocations: 11.94 kB / 449 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1154, allocations: 27.95 kB / 449.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.1158, allocations: 188.5 kB / 449.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1161, allocations: 0.6885 MB / 449.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.1161, allocations: 12.14 kB / 449.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1161, allocations: 11.44 kB / 450 MB, free: 9.594 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1162, allocations: 0 / 450 MB, free: 9.594 MB / 334.1 MB Notification: Performance of Templates: time 0.003349/0.1195, allocations: 0.5941 MB / 450.5 MB, free: 9 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches