Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 101.3 kB / 16.31 MB, free: 5.879 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.001386/0.001386, allocations: 186.5 kB / 17.24 MB, free: 5.539 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.662/1.662, allocations: 205.1 MB / 223.1 MB, free: 12.25 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.07867/0.07867, allocations: 12.59 MB / 283.1 MB, free: 15.45 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.001855/0.001855, allocations: 90.98 kB / 343.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3455, allocations: 49.39 MB / 392.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.004154/0.3498, allocations: 1.564 MB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3512, allocations: 0.5095 MB / 395 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.3514, allocations: 0 / 395 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.405e-05/0.3515, allocations: 5.484 kB / 395 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3517, allocations: 18.95 kB / 395 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3521, allocations: 35.42 kB / 395 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3523, allocations: 46.09 kB / 395.1 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3525, allocations: 18.05 kB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3526, allocations: 22.41 kB / 395.1 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.3527, allocations: 20.58 kB / 395.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3527, allocations: 3.562 kB / 395.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.3528, allocations: 2.625 kB / 395.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.3529, allocations: 11.83 kB / 395.1 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.353, allocations: 26.53 kB / 395.2 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3531, allocations: 57.06 kB / 395.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.3532, allocations: 0 / 395.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3532, allocations: 4 kB / 395.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3532, allocations: 1.094 kB / 395.2 MB, free: 47.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006067/0.3538, allocations: 369 kB / 395.6 MB, free: 47.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3539, allocations: 9.875 kB / 395.6 MB, free: 47.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.3539, allocations: 12.16 kB / 395.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3541, allocations: 191.9 kB / 395.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3542, allocations: 6.953 kB / 395.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3542, allocations: 3.75 kB / 395.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.3545, allocations: 123.5 kB / 395.9 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3546, allocations: 0 / 395.9 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3546, allocations: 1.219 kB / 395.9 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3546, allocations: 0 / 395.9 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.3547, allocations: 21.47 kB / 395.9 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3551, allocations: 277.8 kB / 396.2 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3553, allocations: 135.4 kB / 396.4 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.3554, allocations: 32.97 kB / 396.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3554, allocations: 5.109 kB / 396.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3554, allocations: 36.52 kB / 396.4 MB, free: 46.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3555, allocations: 0 / 396.4 MB, free: 46.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003162/0.3558, allocations: 79.28 kB / 396.5 MB, free: 46.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3558, allocations: 84.17 kB / 396.6 MB, free: 46.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.356, allocations: 144.7 kB / 396.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.356, allocations: 25.7 kB / 396.7 MB, free: 46.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3561, allocations: 87.83 kB / 396.8 MB, free: 46.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3561, allocations: 2.031 kB / 396.8 MB, free: 46.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.3561, allocations: 21.53 kB / 396.9 MB, free: 46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.3562, allocations: 319.4 kB / 397.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.3563, allocations: 11.94 kB / 397.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.3563, allocations: 38.53 kB / 397.2 MB, free: 45.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.051e-05/0.3564, allocations: 46.38 kB / 397.3 MB, free: 45.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3564, allocations: 0 / 397.3 MB, free: 45.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.3566, allocations: 67.62 kB / 397.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3566, allocations: 7.109 kB / 397.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3566, allocations: 3.656 kB / 397.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.3567, allocations: 8.719 kB / 397.3 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.3567, allocations: 9.047 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3568, allocations: 3.656 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.3568, allocations: 8.547 kB / 397.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3568, allocations: 4.734 kB / 397.4 MB, free: 45.54 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 0.0001019/0.357, allocations: 124.1 kB / 397.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.357, allocations: 48.94 kB / 397.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.3571, allocations: 7.703 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3571, allocations: 5.812 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3571, allocations: 0.7969 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3571, allocations: 0 / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3573, allocations: 173.3 kB / 397.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3574, allocations: 0 / 397.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.3574, allocations: 9.797 kB / 397.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3574, allocations: 5.531 kB / 397.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3575, allocations: 4.656 kB / 397.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3575, allocations: 1.375 kB / 397.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3575, allocations: 0 / 397.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3577, allocations: 168.2 kB / 397.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.3577, allocations: 97.86 kB / 398 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3578, allocations: 6.031 kB / 398 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.3579, allocations: 9.984 kB / 398 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3579, allocations: 2.156 kB / 398 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3579, allocations: 6.219 kB / 398 MB, free: 44.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.358, allocations: 105.5 kB / 398.1 MB, free: 44.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.358, allocations: 1.219 kB / 398.1 MB, free: 44.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.3583, allocations: 4.281 kB / 398.1 MB, free: 44.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000136/0.3584, allocations: 97.27 kB / 398.2 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3586, allocations: 37.75 kB / 398.3 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3586, allocations: 0 / 398.3 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.3587, allocations: 9.359 kB / 398.3 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.3592, allocations: 28.2 kB / 398.3 MB, free: 44.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.3597, allocations: 185 kB / 398.5 MB, free: 44.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.36, allocations: 0.6926 MB / 399.2 MB, free: 43.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.36, allocations: 1.812 kB / 399.2 MB, free: 43.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.36, allocations: 11 kB / 399.2 MB, free: 43.8 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.36, allocations: 0 / 399.2 MB, free: 43.8 MB / 318.1 MB Notification: Performance of Templates: time 0.003463/0.3635, allocations: 0.5228 MB / 399.7 MB, free: 43.54 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches