Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002079, allocations: 203.9 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 79.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003369/0.4101, allocations: 1.822 MB / 0.5328 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.4121, allocations: 1.098 MB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.4122, allocations: 1.375 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.4127, allocations: 304 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.4134, allocations: 259.7 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.4137, allocations: 108.2 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.4142, allocations: 255.5 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.4143, allocations: 21.88 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.4145, allocations: 130.8 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.4149, allocations: 195.4 kB / 0.5351 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.4149, allocations: 6.719 kB / 0.5351 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.4151, allocations: 53.97 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.4154, allocations: 147.9 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.4155, allocations: 147 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.416, allocations: 372.8 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.416, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.416, allocations: 3.938 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.416, allocations: 1.125 kB / 0.5358 GB, free: 10.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009745/0.417, allocations: 0.7408 MB / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.417, allocations: 9.625 kB / 0.5366 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.4171, allocations: 58.62 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.4178, allocations: 456.3 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4178, allocations: 1.5 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.4178, allocations: 15.64 kB / 0.5371 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.418, allocations: 83.36 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4181, allocations: 1.188 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4181, allocations: 4 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4181, allocations: 1.094 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4182, allocations: 32.78 kB / 0.5372 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.4187, allocations: 378 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.4189, allocations: 101.5 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.419, allocations: 50.16 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4191, allocations: 1.375 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.4193, allocations: 112 kB / 0.5378 GB, free: 8.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.4193, allocations: 0 / 0.5378 GB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004954/0.4198, allocations: 205.2 kB / 0.538 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4199, allocations: 78.36 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4211, allocations: 1.052 MB / 0.5391 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4211, allocations: 30.86 kB / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.4213, allocations: 239.1 kB / 0.5393 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.4214, allocations: 32.05 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.4214, allocations: 27.09 kB / 0.5394 GB, free: 7.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4216, allocations: 377.7 kB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.4217, allocations: 27.48 kB / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.4218, allocations: 58.33 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.422, allocations: 85.59 kB / 0.5399 GB, free: 7.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.422, allocations: 1.875 kB / 0.5399 GB, free: 7.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003162/0.4223, allocations: 177.8 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4223, allocations: 5.812 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4223, allocations: 1.25 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4224, allocations: 1.438 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4225, allocations: 22.14 kB / 0.5401 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4225, allocations: 1.125 kB / 0.5401 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4226, allocations: 16.45 kB / 0.5401 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4227, allocations: 8.219 kB / 0.5402 GB, free: 6.898 MB / 398.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002923/0.423, allocations: 223 kB / 0.5404 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.4231, allocations: 57.98 kB / 0.5404 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.4232, allocations: 63.05 kB / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4232, allocations: 1.406 kB / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4232, allocations: 1.594 kB / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4232, allocations: 0 / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.4237, allocations: 346.8 kB / 0.5408 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4237, allocations: 4 kB / 0.5408 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.4237, allocations: 11.08 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4237, allocations: 1.062 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4238, allocations: 2.375 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4238, allocations: 1.031 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4238, allocations: 3.938 kB / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.4242, allocations: 201.7 kB / 0.541 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4243, allocations: 145.8 kB / 0.5412 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.4244, allocations: 6.453 kB / 0.5412 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.4244, allocations: 7.219 kB / 0.5412 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.4245, allocations: 7.578 kB / 0.5412 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.4245, allocations: 8.531 kB / 0.5412 GB, free: 6.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009654/0.4255, allocations: 0.7851 MB / 0.542 GB, free: 5.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4255, allocations: 0 / 0.542 GB, free: 5.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.4258, allocations: 45.56 kB / 0.542 GB, free: 5.691 MB / 398.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001065/0.4269, allocations: 410.1 kB / 0.5424 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.4272, allocations: 79.34 kB / 0.5425 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4272, allocations: 0 / 0.5425 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4273, allocations: 44.27 kB / 0.5425 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.4278, allocations: 80.09 kB / 0.5426 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4294, allocations: 0.8759 MB / 0.5434 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.43, allocations: 0.8464 MB / 0.5443 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.4302, allocations: 66.92 kB / 0.5443 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.4303, allocations: 27.44 kB / 0.5444 GB, free: 3.773 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4303, allocations: 4 kB / 0.5444 GB, free: 3.77 MB / 398.1 MB Notification: Performance of Templates: time 0.009198/0.4395, allocations: 3.792 MB / 0.5481 GB, free: 15.99 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches