Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 115.6 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 206.7 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 227.7 MB / 247.9 MB, free: 10.28 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2649, allocations: 50.54 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003337/0.2683, allocations: 1.898 MB / 412.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2706, allocations: 1.308 MB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2707, allocations: 4 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.2711, allocations: 63.67 kB / 413.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.2715, allocations: 139.4 kB / 413.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.2722, allocations: 230.2 kB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.2724, allocations: 183.5 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2725, allocations: 21.55 kB / 414 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2727, allocations: 75.69 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2728, allocations: 75.62 kB / 414.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2728, allocations: 8 kB / 414.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.2729, allocations: 67.95 kB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.273, allocations: 55.77 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.2731, allocations: 83.42 kB / 414.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.2735, allocations: 242.8 kB / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2735, allocations: 0 / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2735, allocations: 0 / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.2735, allocations: 0 / 414.6 MB, free: 13.03 MB / 334.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.0007559/0.2742, allocations: 0.5426 MB / 415.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2743, allocations: 12.03 kB / 415.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.2743, allocations: 20.8 kB / 415.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.2748, allocations: 299.8 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2748, allocations: 8.375 kB / 415.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.2748, allocations: 12.11 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.2752, allocations: 155.6 kB / 415.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2752, allocations: 0 / 415.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2752, allocations: 7.922 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2752, allocations: 4 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2753, allocations: 35.92 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.2759, allocations: 394.3 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.2761, allocations: 107.9 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.2762, allocations: 46.56 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2762, allocations: 4 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.2764, allocations: 79.38 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2764, allocations: 7.875 kB / 416.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004069/0.2768, allocations: 149.5 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.2769, allocations: 166.5 kB / 416.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.2773, allocations: 334.7 kB / 417 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.2773, allocations: 25.7 kB / 417 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2774, allocations: 136 kB / 417.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2775, allocations: 19.89 kB / 417.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.2775, allocations: 29.7 kB / 417.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2777, allocations: 334.8 kB / 417.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.2778, allocations: 27.98 kB / 417.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2779, allocations: 90.78 kB / 417.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.278, allocations: 84.22 kB / 417.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.278, allocations: 0 / 417.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/0.2783, allocations: 117.5 kB / 417.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2783, allocations: 11.94 kB / 417.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2783, allocations: 0 / 417.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2783, allocations: 4 kB / 417.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2784, allocations: 15.98 kB / 417.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2784, allocations: 8.125 kB / 417.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.2785, allocations: 15.92 kB / 417.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2785, allocations: 4 kB / 417.9 MB, free: 9.422 MB / 334.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,superSample1.y,superSample1.u,sample1.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.0001507/0.2787, allocations: 165.6 kB / 418 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.2788, allocations: 69.5 kB / 418.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.2788, allocations: 21.7 kB / 418.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2788, allocations: 8.031 kB / 418.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2788, allocations: 3.938 kB / 418.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2789, allocations: 8 kB / 418.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2791, allocations: 237.6 kB / 418.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2791, allocations: 4 kB / 418.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.2791, allocations: 16.23 kB / 418.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2792, allocations: 0 / 418.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2792, allocations: 8 kB / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2792, allocations: 0 / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2792, allocations: 0 / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.2794, allocations: 174.5 kB / 418.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2796, allocations: 116.9 kB / 418.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.2796, allocations: 4 kB / 418.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.2797, allocations: 0 / 418.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.2797, allocations: 11.98 kB / 418.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2797, allocations: 7.938 kB / 418.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.28, allocations: 253.9 kB / 419 MB, free: 8.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.28, allocations: 4 kB / 419 MB, free: 8.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.2803, allocations: 35.94 kB / 419 MB, free: 8.188 MB / 334.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,superSample1.y,sample1.y,superSample1.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.001424/0.2817, allocations: 421.6 kB / 419.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.2819, allocations: 75.84 kB / 419.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2819, allocations: 0 / 419.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.282, allocations: 24.23 kB / 419.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.2824, allocations: 77.91 kB / 419.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.2831, allocations: 360.8 kB / 419.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.2835, allocations: 0.7477 MB / 420.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.2836, allocations: 29.55 kB / 420.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.2836, allocations: 23.42 kB / 420.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2836, allocations: 0 / 420.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of Templates: time 0.006975/0.2906, allocations: 2.862 MB / 423.6 MB, free: 3.711 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches