Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006452/0.0006451, allocations: 102.6 kB / 16.07 MB, free: 32 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.0007522/0.0007522, allocations: 180.9 kB / 16.96 MB, free: 6.902 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.226/1.226, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.06369/0.06369, allocations: 12.6 MB / 284 MB, free: 8.59 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.0006699/0.0006699, allocations: 20.94 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07343/0.07411, allocations: 50.39 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001571/0.07572, allocations: 1.294 MB / 396.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.07649, allocations: 0.5153 MB / 397.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.07659, allocations: 4 kB / 397.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.07663, allocations: 11.92 kB / 397.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.07675, allocations: 3.938 kB / 397.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.07702, allocations: 55.88 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.798e-05/0.07712, allocations: 47.8 kB / 397.5 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.0772, allocations: 8.188 kB / 397.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.07727, allocations: 19.91 kB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.07732, allocations: 27.8 kB / 397.5 MB, free: 424 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.07734, allocations: 4 kB / 397.5 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.07735, allocations: 0 / 397.5 MB, free: 420 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.0774, allocations: 7.938 kB / 397.5 MB, free: 412 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.07745, allocations: 53.5 kB / 397.6 MB, free: 352 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.355e-05/0.07753, allocations: 47.81 kB / 397.6 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.07754, allocations: 3.938 kB / 397.7 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07755, allocations: 0 / 397.7 MB, free: 300 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.07755, allocations: 0 / 397.7 MB, free: 300 kB / 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.0003798/0.07794, allocations: 371.5 kB / 398 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.07797, allocations: 8.031 kB / 398 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.07801, allocations: 8.844 kB / 398 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.07819, allocations: 208 kB / 398.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.07821, allocations: 384 / 398.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.07822, allocations: 4.375 kB / 398.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.07846, allocations: 126 kB / 398.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.07848, allocations: 3.938 kB / 398.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.07849, allocations: 0 / 398.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.0785, allocations: 4 kB / 398.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.07859, allocations: 23.98 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.07886, allocations: 274.5 kB / 398.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.07897, allocations: 71.78 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.07904, allocations: 34.64 kB / 398.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.07906, allocations: 7.984 kB / 398.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.07909, allocations: 30.56 kB / 398.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.07909, allocations: 0 / 398.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002466/0.07935, allocations: 93.64 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.07941, allocations: 114.8 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.07951, allocations: 141.6 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.07953, allocations: 29.7 kB / 399.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.07957, allocations: 84.14 kB / 399.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.0796, allocations: 12.09 kB / 399.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.07962, allocations: 13.72 kB / 399.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.07972, allocations: 322.8 kB / 399.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.07977, allocations: 11.98 kB / 399.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.526e-05/0.07982, allocations: 31.44 kB / 399.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.07992, allocations: 55.36 kB / 399.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.07992, allocations: 0 / 399.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.08007, allocations: 81.45 kB / 399.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.08009, allocations: 4 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.0801, allocations: 0 / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.08011, allocations: 4 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.08018, allocations: 15.98 kB / 399.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.0802, allocations: 0 / 399.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.08024, allocations: 4 kB / 399.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.08025, allocations: 0 / 399.8 MB, free: 13.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.08033, allocations: 129.9 kB / 399.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.08041, allocations: 49.55 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.08044, allocations: 15.86 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.08045, allocations: 0 / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.08046, allocations: 4 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.08047, allocations: 0 / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.08062, allocations: 173.6 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.08063, allocations: 0 / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.08069, allocations: 19.98 kB / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.0807, allocations: 0 / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.08071, allocations: 0 / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.08072, allocations: 8 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.08072, allocations: 0 / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.0809, allocations: 189 kB / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.08096, allocations: 89 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.08098, allocations: 4 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.08105, allocations: 4 kB / 400.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.08108, allocations: 11.92 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.08109, allocations: 0 / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.08116, allocations: 107.3 kB / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08117, allocations: 0 / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.08139, allocations: 11.94 kB / 400.6 MB, free: 12.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.858e-05/0.08146, allocations: 95.23 kB / 400.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.08159, allocations: 35.92 kB / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0816, allocations: 4 kB / 400.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.08164, allocations: 16.17 kB / 400.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.08197, allocations: 28.03 kB / 400.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.08227, allocations: 206.7 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.0825, allocations: 0.6928 MB / 401.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.08254, allocations: 11.92 kB / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.08257, allocations: 11.44 kB / 401.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08257, allocations: 0 / 401.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Templates: time 0.002236/0.08481, allocations: 0.5284 MB / 402.2 MB, free: 11.25 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches