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.001544/0.001544, allocations: 97.44 kB / 16.02 MB, free: 6.32 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.001869/0.001869, allocations: 190.7 kB / 16.95 MB, free: 6.145 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.837/1.837, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.09092/0.09092, allocations: 12.58 MB / 282.7 MB, free: 15.65 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.001754/0.001754, allocations: 87.88 kB / 343 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3461, allocations: 49.38 MB / 392.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.003842/0.3501, allocations: 1.634 MB / 394 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3514, allocations: 0.5329 MB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3515, allocations: 2.469 kB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.307e-05/0.3516, allocations: 5.156 kB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.3518, allocations: 16.45 kB / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3521, allocations: 44.97 kB / 394.6 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3522, allocations: 47.12 kB / 394.6 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3524, allocations: 15.17 kB / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.3525, allocations: 27.45 kB / 394.7 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.3526, allocations: 21.72 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.3526, allocations: 3.438 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.3526, allocations: 2.938 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.3527, allocations: 14.61 kB / 394.7 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.3527, allocations: 27.59 kB / 394.8 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3529, allocations: 49.55 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3529, allocations: 1.188 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3529, allocations: 0 / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3529, allocations: 0 / 394.8 MB, free: 47.5 MB / 318.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.0005018/0.3534, allocations: 384 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3535, allocations: 10.31 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3535, allocations: 9.281 kB / 395.2 MB, free: 47.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3537, allocations: 202.8 kB / 395.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3537, allocations: 1.75 kB / 395.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3538, allocations: 7.062 kB / 395.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.3541, allocations: 120.5 kB / 395.5 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3541, allocations: 0 / 395.5 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3541, allocations: 1.062 kB / 395.5 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3541, allocations: 1 kB / 395.5 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/0.3542, allocations: 25.72 kB / 395.6 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.3545, allocations: 276.7 kB / 395.8 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3546, allocations: 66.19 kB / 395.9 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.3547, allocations: 36.06 kB / 395.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.3547, allocations: 1.75 kB / 395.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.3548, allocations: 36.12 kB / 396 MB, free: 46.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3548, allocations: 1.156 kB / 396 MB, free: 46.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002899/0.3551, allocations: 84.27 kB / 396 MB, free: 46.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3551, allocations: 111 kB / 396.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3553, allocations: 145 kB / 396.3 MB, free: 46.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3553, allocations: 29.7 kB / 396.3 MB, free: 45.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.3553, allocations: 91.81 kB / 396.4 MB, free: 45.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3554, allocations: 5.766 kB / 396.4 MB, free: 45.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.3554, allocations: 19.5 kB / 396.4 MB, free: 45.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.3555, allocations: 331 kB / 396.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.3555, allocations: 11.59 kB / 396.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.3556, allocations: 33.45 kB / 396.8 MB, free: 45.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.3557, allocations: 54.27 kB / 396.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3557, allocations: 0 / 396.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.3558, allocations: 64.14 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3558, allocations: 5.188 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3559, allocations: 1.344 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3559, allocations: 1.219 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.356, allocations: 10.14 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.356, allocations: 2 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.356, allocations: 19.09 kB / 397 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.356, allocations: 2.094 kB / 397 MB, free: 45.41 MB / 318.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.712e-05/0.3561, allocations: 126.9 kB / 397.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.3562, allocations: 49.05 kB / 397.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.3562, allocations: 17.19 kB / 397.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3563, allocations: 1.094 kB / 397.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3563, allocations: 1.125 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3563, allocations: 1.672 kB / 397.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3564, allocations: 181.6 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3564, allocations: 5.047 kB / 397.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.3565, allocations: 9.547 kB / 397.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3565, allocations: 1 kB / 397.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3565, allocations: 1.688 kB / 397.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3565, allocations: 1.062 kB / 397.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3565, allocations: 1.703 kB / 397.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3567, allocations: 181.6 kB / 397.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.3568, allocations: 94.8 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3568, allocations: 5.094 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.3569, allocations: 3.562 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3569, allocations: 5.656 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3569, allocations: 2.672 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.829e-05/0.357, allocations: 108.6 kB / 397.7 MB, free: 44.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.357, allocations: 7.938 kB / 397.7 MB, free: 44.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3572, allocations: 5.344 kB / 397.8 MB, free: 44.66 MB / 318.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 9.038e-05/0.3573, allocations: 95.75 kB / 397.8 MB, free: 44.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.3575, allocations: 34.47 kB / 397.9 MB, free: 44.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3575, allocations: 0 / 397.9 MB, free: 44.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.3575, allocations: 9.234 kB / 397.9 MB, free: 44.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.358, allocations: 38.66 kB / 397.9 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3583, allocations: 203.7 kB / 398.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.3585, allocations: 0.7001 MB / 398.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.511e-05/0.3585, allocations: 3.906 kB / 398.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.3585, allocations: 8.906 kB / 398.8 MB, free: 43.65 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3585, allocations: 1.562 kB / 398.8 MB, free: 43.65 MB / 318.1 MB Notification: Performance of Templates: time 0.002861/0.3614, allocations: 0.5661 MB / 399.4 MB, free: 43.41 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (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) 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