Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 103.9 kB / 16.31 MB, free: 6.359 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.001117/0.001117, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.934/1.934, allocations: 205.1 MB / 223.1 MB, free: 12.26 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.08269/0.08269, allocations: 12.59 MB / 283.1 MB, free: 15.46 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.00267/0.002671, allocations: 87.88 kB / 343.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3482, allocations: 49.39 MB / 392.9 MB, free: 49.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.00411/0.3524, allocations: 1.871 MB / 394.8 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3545, allocations: 1.076 MB / 395.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.3547, allocations: 3.312 kB / 395.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.3551, allocations: 70.66 kB / 395.9 MB, free: 47.11 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3554, allocations: 89.27 kB / 396 MB, free: 47.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.3561, allocations: 239.3 kB / 396.2 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3564, allocations: 164.6 kB / 396.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3565, allocations: 27.05 kB / 396.4 MB, free: 46.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3566, allocations: 74 kB / 396.5 MB, free: 46.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3568, allocations: 76.38 kB / 396.6 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.3568, allocations: 13.12 kB / 396.6 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.357, allocations: 60.39 kB / 396.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.3571, allocations: 56.25 kB / 396.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3572, allocations: 75.2 kB / 396.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.3575, allocations: 231.5 kB / 397 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3575, allocations: 0 / 397 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3575, allocations: 1.219 kB / 397 MB, free: 46.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3575, allocations: 0 / 397 MB, free: 46.54 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006273/0.3582, allocations: 0.5242 MB / 397.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3582, allocations: 13 kB / 397.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.3583, allocations: 23.03 kB / 397.5 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3586, allocations: 290 kB / 397.8 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3586, allocations: 7.531 kB / 397.8 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3586, allocations: 15.77 kB / 397.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.359, allocations: 155.2 kB / 398 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.359, allocations: 1.125 kB / 398 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.359, allocations: 1.094 kB / 398 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.359, allocations: 1.062 kB / 398 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3591, allocations: 38.5 kB / 398 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3596, allocations: 380.6 kB / 398.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3599, allocations: 116.1 kB / 398.5 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.36, allocations: 50.75 kB / 398.6 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.36, allocations: 5.969 kB / 398.6 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.3603, allocations: 77.03 kB / 398.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3603, allocations: 0 / 398.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004326/0.3607, allocations: 159.1 kB / 398.8 MB, free: 44.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.3608, allocations: 161.8 kB / 399 MB, free: 44.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3612, allocations: 325.1 kB / 399.3 MB, free: 44.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3612, allocations: 26.89 kB / 399.3 MB, free: 44.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.3613, allocations: 127.1 kB / 399.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3613, allocations: 27.02 kB / 399.5 MB, free: 44.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.3614, allocations: 32.23 kB / 399.5 MB, free: 44.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.3615, allocations: 337.4 kB / 399.8 MB, free: 43.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.3615, allocations: 27.89 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3616, allocations: 84.81 kB / 399.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.3618, allocations: 83.94 kB / 400 MB, free: 43.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3618, allocations: 1.188 kB / 400 MB, free: 43.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002208/0.362, allocations: 122.9 kB / 400.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3621, allocations: 5.875 kB / 400.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3621, allocations: 1.219 kB / 400.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3621, allocations: 6.531 kB / 400.2 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3622, allocations: 26.2 kB / 400.2 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3622, allocations: 2.062 kB / 400.2 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.3623, allocations: 11.33 kB / 400.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3624, allocations: 4.781 kB / 400.2 MB, free: 43.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001194/0.3625, allocations: 149.9 kB / 400.3 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.3626, allocations: 68.72 kB / 400.4 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.3626, allocations: 27.45 kB / 400.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3626, allocations: 6.75 kB / 400.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3627, allocations: 1.812 kB / 400.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3627, allocations: 3.938 kB / 400.4 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3629, allocations: 241.8 kB / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3629, allocations: 0 / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.3629, allocations: 14.14 kB / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.363, allocations: 0 / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.363, allocations: 2.281 kB / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.363, allocations: 5.156 kB / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.363, allocations: 1.312 kB / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3633, allocations: 169.2 kB / 400.9 MB, free: 43.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.3634, allocations: 116.2 kB / 401 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3634, allocations: 3 kB / 401 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.3635, allocations: 6.469 kB / 401 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3636, allocations: 12.55 kB / 401 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3636, allocations: 11.42 kB / 401 MB, free: 42.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.3639, allocations: 240.9 kB / 401.3 MB, free: 42.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 0 / 401.3 MB, free: 42.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3642, allocations: 34.48 kB / 401.3 MB, free: 42.76 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009715/0.3651, allocations: 416.5 kB / 401.7 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3654, allocations: 81.36 kB / 401.8 MB, free: 42.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3654, allocations: 8.188 kB / 401.8 MB, free: 42.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.3655, allocations: 29.48 kB / 401.8 MB, free: 42.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.366, allocations: 69.39 kB / 401.9 MB, free: 42.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.3666, allocations: 370.8 kB / 402.2 MB, free: 42.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.3668, allocations: 0.7443 MB / 403 MB, free: 41.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.607e-05/0.3669, allocations: 21.67 kB / 403 MB, free: 41.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.367, allocations: 23.05 kB / 403 MB, free: 41.32 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.367, allocations: 0 / 403 MB, free: 41.32 MB / 318.1 MB Notification: Performance of Templates: time 0.006403/0.3734, allocations: 2.807 MB / 405.8 MB, free: 39.89 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches