Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 88.25 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 165.3 kB / 25.61 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8991/0.8991, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.593e-05, allocations: 6.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001896/0.001912, allocations: 1.628 MB / 275.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007275/0.002639, allocations: 0.5102 MB / 276.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.002719, allocations: 5.469 kB / 276.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.609e-05/0.002765, allocations: 3.938 kB / 276.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.002901, allocations: 15.86 kB / 276.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003122, allocations: 56.41 kB / 276.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.003206, allocations: 43.84 kB / 276.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.079e-05/0.003277, allocations: 16.56 kB / 276.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.003371, allocations: 38.36 kB / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.003416, allocations: 11.92 kB / 276.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.003431, allocations: 4 kB / 276.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.485e-05/0.003466, allocations: 7.938 kB / 276.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.003504, allocations: 19.91 kB / 276.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.003527, allocations: 15.94 kB / 276.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.003627, allocations: 39.83 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003628, allocations: 1.938 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003629, allocations: 4 kB / 276.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003633, allocations: 0 / 276.5 MB, free: 1.852 MB / 250.7 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.0003303/0.003963, allocations: 400.3 kB / 276.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003993, allocations: 12.02 kB / 277 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.004087, allocations: 21.34 kB / 277 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.004219, allocations: 157.1 kB / 277.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.004227, allocations: 384 / 277.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.004234, allocations: 4.375 kB / 277.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.004379, allocations: 129.6 kB / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.004384, allocations: 192 / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.00439, allocations: 384 / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004395, allocations: 3.938 kB / 277.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.505e-05/0.00441, allocations: 11.94 kB / 277.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.004584, allocations: 248.1 kB / 277.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.004683, allocations: 70.11 kB / 277.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.004706, allocations: 19.44 kB / 277.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.004718, allocations: 4 kB / 277.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.00474, allocations: 33.39 kB / 277.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.004741, allocations: 0 / 277.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001087/0.004849, allocations: 69.44 kB / 277.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.004885, allocations: 81.11 kB / 277.8 MB, free: 440 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.004961, allocations: 199.9 kB / 278 MB, free: 224 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.004971, allocations: 25.7 kB / 278 MB, free: 192 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.005012, allocations: 138.8 kB / 278.1 MB, free: 48 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.005023, allocations: 7.938 kB / 278.2 MB, free: 40 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.005046, allocations: 19.38 kB / 278.2 MB, free: 12 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005159, allocations: 496.1 kB / 278.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.005165, allocations: 0 / 278.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.005171, allocations: 4 kB / 278.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.005189, allocations: 15.62 kB / 278.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.00519, allocations: 64 / 278.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.862e-05/0.005229, allocations: 45.64 kB / 278.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.005239, allocations: 4 kB / 278.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005243, allocations: 3.938 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.00525, allocations: 0 / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.981e-05/0.00528, allocations: 4 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.005282, allocations: 0 / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.005296, allocations: 3.984 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.005301, allocations: 4 kB / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.202e-05/0.005353, allocations: 152.6 kB / 278.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.005391, allocations: 57.62 kB / 278.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.005412, allocations: 12.27 kB / 279 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005413, allocations: 4 kB / 279 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005415, allocations: 0 / 279 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.005417, allocations: 0 / 279 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.527e-05/0.005503, allocations: 109.2 kB / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005503, allocations: 0 / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.005524, allocations: 8 kB / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005525, allocations: 0 / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.005532, allocations: 3.984 kB / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005532, allocations: 4 kB / 279.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.005534, allocations: 7.938 kB / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.065e-05/0.005614, allocations: 195.8 kB / 279.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.005639, allocations: 23.92 kB / 279.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.005653, allocations: 0 / 279.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.005681, allocations: 3.938 kB / 279.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.005701, allocations: 7.938 kB / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005704, allocations: 3.984 kB / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.539e-05/0.005749, allocations: 145.7 kB / 279.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00575, allocations: 0 / 279.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.005879, allocations: 4 kB / 279.5 MB, free: 14.62 MB / 266.7 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 5.809e-05/0.005937, allocations: 99.28 kB / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.557e-05/0.005993, allocations: 19.61 kB / 279.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.02e-07/0.005993, allocations: 0 / 279.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.006005, allocations: 11.69 kB / 279.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.006204, allocations: 20.86 kB / 279.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.006506, allocations: 188.8 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.006539, allocations: 63.2 kB / 279.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.821e-05/0.006557, allocations: 4 kB / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.0066, allocations: 74.19 kB / 279.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0066, allocations: 0 / 279.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.001781/0.008381, allocations: 0.5871 MB / 280.5 MB, free: 13.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.690910586155951]