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.001136/0.001136, allocations: 101.1 kB / 16.31 MB, free: 6.391 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.001186/0.001186, allocations: 191.1 kB / 17.24 MB, free: 5.922 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.757/1.757, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.07971/0.07971, allocations: 12.59 MB / 283.1 MB, free: 15.48 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.002402/0.002403, allocations: 87.88 kB / 343.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3451, allocations: 49.38 MB / 392.9 MB, free: 49.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.003374/0.3485, allocations: 1.572 MB / 394.5 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.3495, allocations: 0.5383 MB / 395 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.3496, allocations: 3.094 kB / 395 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.3497, allocations: 9.094 kB / 395 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3499, allocations: 8.875 kB / 395 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3502, allocations: 55.39 kB / 395.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3503, allocations: 49.83 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3504, allocations: 18.91 kB / 395.1 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.3505, allocations: 26.23 kB / 395.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.3506, allocations: 21.16 kB / 395.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3506, allocations: 3.844 kB / 395.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.3507, allocations: 3.531 kB / 395.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.3507, allocations: 14.45 kB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.3508, allocations: 23.2 kB / 395.2 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3509, allocations: 53.05 kB / 395.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.351, allocations: 1.125 kB / 395.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.351, allocations: 3.938 kB / 395.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.351, allocations: 4 kB / 395.3 MB, free: 47.56 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.0005235/0.3515, allocations: 378 kB / 395.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3516, allocations: 8.906 kB / 395.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.3516, allocations: 9.797 kB / 395.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3518, allocations: 199.1 kB / 395.9 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3518, allocations: 5.531 kB / 395.9 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3519, allocations: 3.531 kB / 395.9 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.3522, allocations: 121.1 kB / 396 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3522, allocations: 3.938 kB / 396 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3522, allocations: 1.156 kB / 396 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3522, allocations: 1.125 kB / 396 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.3523, allocations: 20.8 kB / 396 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.3527, allocations: 279.6 kB / 396.3 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3528, allocations: 75.48 kB / 396.4 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.3529, allocations: 36.16 kB / 396.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3529, allocations: 2.047 kB / 396.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.3529, allocations: 31.84 kB / 396.4 MB, free: 46.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3529, allocations: 0 / 396.4 MB, free: 46.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002912/0.3532, allocations: 90.38 kB / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.3533, allocations: 108.7 kB / 396.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3534, allocations: 148.4 kB / 396.8 MB, free: 46.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3534, allocations: 26.83 kB / 396.8 MB, free: 46.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3535, allocations: 91.52 kB / 396.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.3535, allocations: 5.625 kB / 396.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.3536, allocations: 19.38 kB / 396.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.3537, allocations: 322.2 kB / 397.2 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.3537, allocations: 12.83 kB / 397.2 MB, free: 45.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-05/0.3538, allocations: 29.88 kB / 397.3 MB, free: 45.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.3539, allocations: 53.36 kB / 397.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3539, allocations: 0 / 397.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.354, allocations: 68.12 kB / 397.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.354, allocations: 7.062 kB / 397.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3541, allocations: 0 / 397.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.3541, allocations: 4.328 kB / 397.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.3542, allocations: 8.641 kB / 397.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3542, allocations: 4.609 kB / 397.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3542, allocations: 12.53 kB / 397.4 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3543, allocations: 0.75 kB / 397.4 MB, free: 45.49 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.026e-05/0.3543, allocations: 122.5 kB / 397.5 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.3544, allocations: 54.88 kB / 397.6 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.3544, allocations: 13.67 kB / 397.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3544, allocations: 1.812 kB / 397.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3545, allocations: 5.969 kB / 397.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3545, allocations: 0.9844 kB / 397.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3546, allocations: 171.9 kB / 397.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3546, allocations: 2.531 kB / 397.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.3547, allocations: 8.5 kB / 397.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3547, allocations: 1.781 kB / 397.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3547, allocations: 5.969 kB / 397.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3547, allocations: 4.938 kB / 397.8 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3547, allocations: 1.688 kB / 397.8 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.3549, allocations: 185.6 kB / 398 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.355, allocations: 93.38 kB / 398.1 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.355, allocations: 2.672 kB / 398.1 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.3551, allocations: 7.594 kB / 398.1 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3551, allocations: 2.719 kB / 398.1 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3551, allocations: 5.625 kB / 398.1 MB, free: 44.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.3552, allocations: 113.4 kB / 398.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3552, allocations: 0 / 398.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.3554, allocations: 9.562 kB / 398.2 MB, free: 44.73 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.2e-05/0.3555, allocations: 93.88 kB / 398.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3557, allocations: 32.97 kB / 398.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3557, allocations: 0 / 398.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.3558, allocations: 19.19 kB / 398.4 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3562, allocations: 31.41 kB / 398.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3566, allocations: 184.5 kB / 398.6 MB, free: 44.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3568, allocations: 0.6955 MB / 399.3 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.3569, allocations: 5.797 kB / 399.3 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.3569, allocations: 11 kB / 399.3 MB, free: 43.74 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3569, allocations: 0 / 399.3 MB, free: 43.74 MB / 318.1 MB Notification: Performance of Templates: time 0.003493/0.3604, allocations: 0.5991 MB / 399.9 MB, free: 43.44 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches