Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.9 MB, free: 8.988 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.52 kB / 306.9 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1139, allocations: 50.53 MB / 357.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003358/0.1173, allocations: 1.613 MB / 359.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1184, allocations: 0.561 MB / 359.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1186, allocations: 7.875 kB / 359.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.1187, allocations: 7.984 kB / 359.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1189, allocations: 3.938 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1193, allocations: 55.83 kB / 359.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1194, allocations: 39.92 kB / 359.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1195, allocations: 24.08 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1196, allocations: 35.86 kB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.1197, allocations: 19.92 kB / 359.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1197, allocations: 0 / 359.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.1198, allocations: 4 kB / 359.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1198, allocations: 15.92 kB / 359.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.1199, allocations: 27.8 kB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.12, allocations: 39.88 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.12, allocations: 4 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.12, allocations: 0 / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.12, allocations: 0 / 359.9 MB, free: 11.77 MB / 302.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.0005271/0.1206, allocations: 379.4 kB / 360.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1206, allocations: 12.03 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.1208, allocations: 12.84 kB / 360.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.121, allocations: 196.1 kB / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.121, allocations: 384 / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1211, allocations: 8.375 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1213, allocations: 109.2 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1214, allocations: 0 / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1214, allocations: 0 / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1214, allocations: 0 / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.196e-05/0.1215, allocations: 19.98 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.1218, allocations: 269.7 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.1219, allocations: 41.2 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.122, allocations: 17.78 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.122, allocations: 3.938 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1221, allocations: 46.48 kB / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1221, allocations: 0 / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002647/0.1223, allocations: 65.53 kB / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1224, allocations: 81.11 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1225, allocations: 140.7 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.1226, allocations: 25.7 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1227, allocations: 100.3 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1227, allocations: 3.984 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.1228, allocations: 21.62 kB / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1229, allocations: 318.8 kB / 361.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.1229, allocations: 7.984 kB / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.123, allocations: 21.66 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.1231, allocations: 37.7 kB / 361.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1231, allocations: 0 / 361.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001332/0.1232, allocations: 57.66 kB / 361.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1232, allocations: 4 kB / 361.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1232, allocations: 3.938 kB / 361.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1233, allocations: 4 kB / 361.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.1233, allocations: 8.062 kB / 361.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1234, allocations: 3.984 kB / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.1234, allocations: 0 / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1234, allocations: 7.984 kB / 361.9 MB, free: 9.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.785e-05/0.1235, allocations: 121.7 kB / 362 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1236, allocations: 37.61 kB / 362 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1236, allocations: 15.81 kB / 362 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1236, allocations: 8 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1236, allocations: 0 / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1237, allocations: 4.031 kB / 362.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1238, allocations: 169.6 kB / 362.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1238, allocations: 4 kB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1239, allocations: 7.938 kB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1239, allocations: 0 / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1239, allocations: 3.984 kB / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1239, allocations: 0 / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1239, allocations: 4 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1241, allocations: 160.2 kB / 362.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1242, allocations: 92.94 kB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1242, allocations: 4 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.1243, allocations: 3.984 kB / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1243, allocations: 4 kB / 362.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1243, allocations: 4 kB / 362.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.183e-05/0.1244, allocations: 107.2 kB / 362.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1244, allocations: 4.031 kB / 362.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1246, allocations: 4 kB / 362.6 MB, free: 8.668 MB / 302.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 (2): * Single equations (assignments): 2 * 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.0001045/0.1248, allocations: 99.19 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1249, allocations: 19.98 kB / 362.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1249, allocations: 4 kB / 362.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.125, allocations: 4 kB / 362.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1253, allocations: 26.55 kB / 362.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1257, allocations: 202.9 kB / 363 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.126, allocations: 0.6927 MB / 363.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1261, allocations: 11.44 kB / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1261, allocations: 0 / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of Templates: time 0.00225/0.1283, allocations: 0.7371 MB / 364.4 MB, free: 6.816 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches