Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 76.11 kB / 481.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4239, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003301/0.4273, allocations: 1.943 MB / 0.5329 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.4291, allocations: 1.053 MB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.4293, allocations: 2.469 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.4296, allocations: 44.39 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.43, allocations: 102.8 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.4302, allocations: 94.44 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.4305, allocations: 148.9 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4307, allocations: 26.8 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.4308, allocations: 61 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4309, allocations: 52.14 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.431, allocations: 7.031 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.4311, allocations: 51.11 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.4312, allocations: 26.47 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.4313, allocations: 56.08 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.4316, allocations: 145.6 kB / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4316, allocations: 0 / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4316, allocations: 0 / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4316, allocations: 1.188 kB / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007396/0.4324, allocations: 0.493 MB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4324, allocations: 9.25 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.4325, allocations: 19.94 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.4329, allocations: 232.1 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4329, allocations: 7.125 kB / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.4329, allocations: 8.781 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.4332, allocations: 115.3 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4332, allocations: 0 / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4332, allocations: 5.375 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4332, allocations: 5.359 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.4334, allocations: 50.03 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.4341, allocations: 0.4997 MB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.4345, allocations: 93.22 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4346, allocations: 39.33 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.4346, allocations: 1.156 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.4349, allocations: 89.62 kB / 0.5364 GB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.4349, allocations: 0 / 0.5364 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005219/0.4354, allocations: 138.8 kB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4355, allocations: 57.88 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4358, allocations: 198.8 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4358, allocations: 30.77 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4359, allocations: 127.5 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.436, allocations: 35.91 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.4361, allocations: 30.23 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4363, allocations: 323 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4364, allocations: 27.42 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.4365, allocations: 72.02 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.4368, allocations: 93.86 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4368, allocations: 0 / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003626/0.4371, allocations: 142 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4372, allocations: 10.23 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4372, allocations: 1.312 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4372, allocations: 1.156 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4373, allocations: 27.02 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4373, allocations: 2.094 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.4374, allocations: 8.328 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4375, allocations: 4.688 kB / 0.5376 GB, free: 8.094 MB / 398.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001289/0.4376, allocations: 138.6 kB / 0.5378 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.4376, allocations: 14.31 kB / 0.5378 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.4377, allocations: 18.66 kB / 0.5378 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4377, allocations: 5.062 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4377, allocations: 0 / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4377, allocations: 1.062 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.438, allocations: 218.2 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.438, allocations: 0 / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.4381, allocations: 10.34 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4381, allocations: 4 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4381, allocations: 5.281 kB / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4381, allocations: 9.359 kB / 0.538 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4381, allocations: 3.938 kB / 0.5381 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.4386, allocations: 177.1 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.4387, allocations: 92.58 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4387, allocations: 1.344 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.4388, allocations: 16.55 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.4389, allocations: 10.86 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.4389, allocations: 7.219 kB / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.439, allocations: 142.4 kB / 0.5385 GB, free: 7.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.439, allocations: 3.938 kB / 0.5385 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.4393, allocations: 26.81 kB / 0.5385 GB, free: 7.309 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.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.0009464/0.4403, allocations: 401.8 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.4405, allocations: 84.36 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4406, allocations: 0 / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4407, allocations: 37.39 kB / 0.539 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.441, allocations: 52.22 kB / 0.5391 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.4416, allocations: 267.1 kB / 0.5393 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.442, allocations: 0.7156 MB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.316e-05/0.4421, allocations: 19.31 kB / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.4421, allocations: 20.08 kB / 0.54 GB, free: 6.082 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4421, allocations: 0 / 0.54 GB, free: 6.082 MB / 398.1 MB Notification: Performance of Templates: time 0.005772/0.4479, allocations: 1.895 MB / 0.5419 GB, free: 5.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches