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.001178/0.001178, allocations: 100.9 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.002024/0.002024, allocations: 181.4 kB / 16.62 MB, free: 6.176 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.545/1.545, allocations: 205.4 MB / 222.8 MB, free: 5.426 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.07914/0.07914, allocations: 12.6 MB / 283.6 MB, free: 8.582 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.0008154/0.0008155, allocations: 24 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1155, allocations: 50.38 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.002106/0.1177, allocations: 1.264 MB / 396.2 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.1187, allocations: 488 kB / 396.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1188, allocations: 7.938 kB / 396.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.1189, allocations: 0 / 396.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.119, allocations: 15.97 kB / 396.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1194, allocations: 43.83 kB / 396.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1195, allocations: 35.84 kB / 396.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1196, allocations: 20.16 kB / 396.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.1197, allocations: 11.94 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.1198, allocations: 19.86 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1198, allocations: 4 kB / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.1198, allocations: 0 / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1198, allocations: 15.98 kB / 396.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.1199, allocations: 33.64 kB / 396.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.12, allocations: 35.94 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.12, allocations: 0 / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.12, allocations: 0 / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.12, allocations: 0 / 396.9 MB, free: 0.7812 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.0006203/0.1206, allocations: 371.3 kB / 397.2 MB, free: 380 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1207, allocations: 8.031 kB / 397.2 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.1207, allocations: 11.89 kB / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.121, allocations: 206.7 kB / 397.5 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.121, allocations: 0 / 397.5 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.121, allocations: 4 kB / 397.5 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1214, allocations: 121.9 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1214, allocations: 0 / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1214, allocations: 3.938 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1214, allocations: 0 / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1215, allocations: 27.92 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.122, allocations: 278.5 kB / 397.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1221, allocations: 67.78 kB / 398 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1222, allocations: 8.062 kB / 398 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1222, allocations: 34.56 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1222, allocations: 0 / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002928/0.1225, allocations: 85.89 kB / 398.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1226, allocations: 114.8 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1227, allocations: 145.5 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1227, allocations: 25.7 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.1228, allocations: 92.05 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.1228, allocations: 4 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1228, allocations: 0 / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.123, allocations: 314.8 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.123, allocations: 19.98 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.1231, allocations: 31.44 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/0.1231, allocations: 19.92 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1231, allocations: 4 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001499/0.1233, allocations: 77.52 kB / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1233, allocations: 4 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1233, allocations: 7.938 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1234, allocations: 0 / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.1234, allocations: 8 kB / 398.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1235, allocations: 8.062 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1235, allocations: 15.94 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1235, allocations: 4 kB / 399 MB, free: 14.42 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.574e-05/0.1236, allocations: 121.6 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.1237, allocations: 49.59 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1238, allocations: 11.88 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1238, allocations: 4 kB / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1238, allocations: 0 / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1238, allocations: 4.062 kB / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.124, allocations: 181.5 kB / 399.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.124, allocations: 0 / 399.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.124, allocations: 8 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1241, allocations: 0 / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1241, allocations: 4 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1241, allocations: 0 / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1241, allocations: 0 / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1243, allocations: 208.5 kB / 399.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1244, allocations: 100.9 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1244, allocations: 0 / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.1245, allocations: 8 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1245, allocations: 3.953 kB / 399.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1245, allocations: 4 kB / 399.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.1246, allocations: 107.9 kB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1246, allocations: 0 / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1248, allocations: 8 kB / 399.8 MB, free: 13.5 MB / 302.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 (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.0001052/0.125, allocations: 99.19 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1251, allocations: 39.91 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1251, allocations: 0 / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1252, allocations: 8 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1255, allocations: 28.02 kB / 399.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.1259, allocations: 203 kB / 400.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1262, allocations: 0.6928 MB / 400.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.1262, allocations: 8.172 kB / 400.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1263, allocations: 19.42 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1263, allocations: 0 / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.002526/0.1288, allocations: 0.5267 MB / 401.4 MB, free: 11.82 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches