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.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 207.6 kB / 19.41 MB, free: 3.645 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.447/1.447, allocations: 227.6 MB / 247.9 MB, free: 10.17 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.001893/0.001893, allocations: 71.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2593, allocations: 50.55 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002748/0.262, allocations: 1.534 MB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.2624, allocations: 143.5 kB / 411.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.2625, allocations: 4 kB / 411.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.2626, allocations: 7.875 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.2627, allocations: 3.938 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.2629, allocations: 39.89 kB / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2631, allocations: 47.78 kB / 412 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2632, allocations: 16 kB / 412 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.2632, allocations: 15.92 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.2633, allocations: 19.91 kB / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2633, allocations: 4 kB / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2633, allocations: 4 kB / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.2634, allocations: 11.94 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.2634, allocations: 31.73 kB / 412.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2635, allocations: 51.61 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2635, allocations: 0 / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2635, allocations: 0 / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2635, allocations: 7.938 kB / 412.1 MB, free: 15.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004996/0.264, allocations: 379.1 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2641, allocations: 12.03 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.2641, allocations: 12.89 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2644, allocations: 204.1 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.2644, allocations: 384 / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2644, allocations: 12.31 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2647, allocations: 122.4 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2647, allocations: 192 / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2647, allocations: 7.938 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.2647, allocations: 3.984 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.2649, allocations: 43.91 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.2653, allocations: 361.9 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.2655, allocations: 87.72 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.2656, allocations: 38.61 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2656, allocations: 0 / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.2656, allocations: 42.5 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2656, allocations: 4 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003521/0.266, allocations: 105.5 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.266, allocations: 106.8 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2662, allocations: 144.4 kB / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.2662, allocations: 29.69 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.2662, allocations: 92.45 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.2663, allocations: 7.953 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.2663, allocations: 17.72 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2664, allocations: 322.8 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.2665, allocations: 15.98 kB / 414.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.2666, allocations: 39.42 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2667, allocations: 63.34 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2667, allocations: 3.938 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001906/0.2669, allocations: 89.55 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2669, allocations: 4 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2669, allocations: 0 / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2669, allocations: 4 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.267, allocations: 11.98 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.267, allocations: 0 / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.2671, allocations: 4 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.2671, allocations: 4 kB / 414.5 MB, free: 12.83 MB / 334.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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001077/0.2672, allocations: 133.8 kB / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.2673, allocations: 53.64 kB / 414.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.2673, allocations: 7.828 kB / 414.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2673, allocations: 4 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2673, allocations: 0 / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2673, allocations: 4 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2676, allocations: 189.5 kB / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2676, allocations: 0 / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.2676, allocations: 4 kB / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2676, allocations: 8.031 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2676, allocations: 0 / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2676, allocations: 4 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2676, allocations: 7.938 kB / 414.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.2679, allocations: 263.5 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.268, allocations: 93.19 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.268, allocations: 7.969 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2681, allocations: 7.938 kB / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.2681, allocations: 4 kB / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2681, allocations: 0 / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.318e-05/0.2682, allocations: 111.2 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2682, allocations: 4 kB / 415.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.2685, allocations: 4 kB / 415.4 MB, free: 11.83 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001136/0.2686, allocations: 107.2 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.2688, allocations: 47.89 kB / 415.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2688, allocations: 0 / 415.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.2689, allocations: 15.98 kB / 415.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.2693, allocations: 39.36 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.2696, allocations: 183.1 kB / 415.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.27, allocations: 0.704 MB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.27, allocations: 4 kB / 416.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.27, allocations: 11.44 kB / 416.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.27, allocations: 0 / 416.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.003098/0.2731, allocations: 0.629 MB / 417.1 MB, free: 10.07 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches