Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 79.88 kB / 481.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4085, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003751/0.4124, allocations: 1.951 MB / 0.533 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.4143, allocations: 1.054 MB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.4145, allocations: 1.375 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.4149, allocations: 45.33 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.4152, allocations: 94.98 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.4155, allocations: 103 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.4158, allocations: 147.9 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.4159, allocations: 23.31 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.416, allocations: 56.34 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.4162, allocations: 61.44 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.4162, allocations: 6.875 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.4164, allocations: 51.48 kB / 0.5346 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.4164, allocations: 21.98 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.4166, allocations: 52.17 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.4169, allocations: 148.8 kB / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4169, allocations: 0 / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4169, allocations: 1.156 kB / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.4169, allocations: 3.938 kB / 0.5348 GB, free: 10.75 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.0007089/0.4177, allocations: 487 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4177, allocations: 9.25 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.4178, allocations: 16.75 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.4181, allocations: 236.2 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4182, allocations: 6.844 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4182, allocations: 8.531 kB / 0.5355 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.4185, allocations: 114.1 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4185, allocations: 1.094 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4185, allocations: 1.188 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4185, allocations: 2.094 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.4187, allocations: 50.25 kB / 0.5357 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.4193, allocations: 0.5074 MB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.4197, allocations: 88.16 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4198, allocations: 40.17 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4198, allocations: 1.219 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.42, allocations: 96.77 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.42, allocations: 0 / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000431/0.4205, allocations: 143.2 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4205, allocations: 56.56 kB / 0.5366 GB, free: 9.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.4207, allocations: 200.2 kB / 0.5368 GB, free: 8.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.4208, allocations: 30.92 kB / 0.5368 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.4209, allocations: 122.7 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.4209, allocations: 27.44 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.421, allocations: 30.95 kB / 0.537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4211, allocations: 323 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.4212, allocations: 27.8 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4213, allocations: 68.27 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4215, allocations: 93.2 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4215, allocations: 1.5 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.4218, allocations: 145.1 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4219, allocations: 6.281 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4219, allocations: 5.109 kB / 0.5376 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4219, allocations: 2 kB / 0.5376 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4221, allocations: 26.92 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4221, allocations: 5.031 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.4222, allocations: 9.969 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.4222, allocations: 3.469 kB / 0.5376 GB, free: 8.117 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.000139/0.4224, allocations: 142.5 kB / 0.5378 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.4224, allocations: 14.5 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.4225, allocations: 14.81 kB / 0.5378 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4225, allocations: 9.062 kB / 0.5378 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4225, allocations: 3.984 kB / 0.5378 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4225, allocations: 1.094 kB / 0.5378 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.4228, allocations: 210.2 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4228, allocations: 0 / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.4228, allocations: 9.531 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4229, allocations: 5.156 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.4229, allocations: 9.078 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4229, allocations: 5.188 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4229, allocations: 0 / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.4233, allocations: 177.6 kB / 0.5382 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.4234, allocations: 84.33 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4234, allocations: 9.203 kB / 0.5383 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.4235, allocations: 8.5 kB / 0.5383 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4235, allocations: 11.36 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4236, allocations: 6.281 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.4237, allocations: 150.1 kB / 0.5385 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4237, allocations: 0 / 0.5385 GB, free: 7.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.4239, allocations: 23.47 kB / 0.5385 GB, free: 7.344 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.001048/0.425, allocations: 415.2 kB / 0.5389 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.4253, allocations: 78.95 kB / 0.539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4253, allocations: 0 / 0.539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4254, allocations: 38.23 kB / 0.539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.4257, allocations: 45.66 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.4263, allocations: 266 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.4267, allocations: 0.7152 MB / 0.54 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.898e-05/0.4268, allocations: 16.58 kB / 0.54 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.4269, allocations: 20.23 kB / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4269, allocations: 0 / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Templates: time 0.006179/0.4331, allocations: 1.94 MB / 0.5419 GB, free: 5.125 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches