Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 84.44 kB / 20.7 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000845/0.000845, allocations: 169.9 kB / 23.96 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8531/0.8531, allocations: 158.6 MB / 185.7 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1274/0.1274, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.53e-05, allocations: 6.078 kB / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005055/0.005091, allocations: 3.132 MB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.006797, allocations: 0.8147 MB / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.0071, allocations: 11.94 kB / 412 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.007276, allocations: 67.3 kB / 412.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.007498, allocations: 142.7 kB / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.007866, allocations: 131.7 kB / 412.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.008285, allocations: 0.5333 MB / 412.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.008575, allocations: 166.3 kB / 413.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.008931, allocations: 323.4 kB / 413.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.009104, allocations: 171.5 kB / 413.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.009162, allocations: 51.94 kB / 413.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.009206, allocations: 52 kB / 413.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.009268, allocations: 107.6 kB / 413.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.009383, allocations: 171.6 kB / 413.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.009835, allocations: 0.5684 MB / 414.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.009838, allocations: 0 / 414.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.00984, allocations: 0 / 414.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.009848, allocations: 0 / 414.5 MB, free: 11.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009326/0.01078, allocations: 0.6922 MB / 415.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01082, allocations: 15.97 kB / 415.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.0109, allocations: 56.61 kB / 415.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.01128, allocations: 262.9 kB / 415.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.01131, allocations: 33.38 kB / 415.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.01136, allocations: 48.38 kB / 415.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.01194, allocations: 0.4993 MB / 416.1 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.01195, allocations: 192 / 416.1 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.01198, allocations: 20.38 kB / 416.1 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.01199, allocations: 19.94 kB / 416.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.01241, allocations: 316.4 kB / 416.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.01401, allocations: 1.462 MB / 417.9 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.01437, allocations: 228.8 kB / 418.1 MB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.01457, allocations: 129.7 kB / 418.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.01459, allocations: 4 kB / 418.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.01462, allocations: 38.56 kB / 418.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.545e-06/0.01463, allocations: 3.984 kB / 418.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001785/0.01641, allocations: 1.111 MB / 419.4 MB, free: 6.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.01645, allocations: 85.09 kB / 419.5 MB, free: 6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.01664, allocations: 257.8 kB / 419.8 MB, free: 5.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.01666, allocations: 37.7 kB / 419.8 MB, free: 5.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01678, allocations: 268.1 kB / 420 MB, free: 5.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.01685, allocations: 126.9 kB / 420.2 MB, free: 5.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.01692, allocations: 74.19 kB / 420.2 MB, free: 5.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.01701, allocations: 334.8 kB / 420.6 MB, free: 4.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.01717, allocations: 108.9 kB / 420.7 MB, free: 4.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.01736, allocations: 212.9 kB / 420.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.01775, allocations: 355 kB / 421.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01775, allocations: 0 / 421.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004899/0.01824, allocations: 414.2 kB / 421.6 MB, free: 3.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01826, allocations: 8 kB / 421.6 MB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01827, allocations: 4 kB / 421.6 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.01841, allocations: 32.83 kB / 421.7 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.01866, allocations: 115.9 kB / 421.8 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007827/0.01944, allocations: 1.319 MB / 423.1 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.01956, allocations: 27.97 kB / 423.1 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.01957, allocations: 15.94 kB / 423.2 MB, free: 2.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.0197, allocations: 165.7 kB / 423.3 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.01973, allocations: 27.86 kB / 423.3 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.01978, allocations: 42.05 kB / 423.4 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01978, allocations: 4 kB / 423.4 MB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01978, allocations: 4.062 kB / 423.4 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01979, allocations: 144 / 423.4 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.02039, allocations: 0.5785 MB / 424 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.0204, allocations: 4 kB / 424 MB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.0206, allocations: 99.84 kB / 424.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-05/0.02065, allocations: 28.91 kB / 424.1 MB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.02067, allocations: 8 kB / 424.1 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005842/0.02125, allocations: 1.296 MB / 425.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02125, allocations: 0 / 425.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.02183, allocations: 0.605 MB / 426 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.02189, allocations: 47.77 kB / 426.1 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.02191, allocations: 8 kB / 426.1 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02203, allocations: 23.92 kB / 426.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.02208, allocations: 23.95 kB / 426.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.02209, allocations: 12 kB / 426.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.0222, allocations: 177.2 kB / 426.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0222, allocations: 4 kB / 426.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.02247, allocations: 92 kB / 426.4 MB, free: 14.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.02257, allocations: 107.1 kB / 426.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005025/0.02308, allocations: 410.3 kB / 426.9 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02308, allocations: 0 / 426.9 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.02329, allocations: 242.5 kB / 427.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.02359, allocations: 40.8 kB / 427.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009657/0.02456, allocations: 0.8365 MB / 428 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.0247, allocations: 215.7 kB / 428.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.02476, allocations: 36.5 kB / 428.3 MB, free: 12.72 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02476, allocations: 0 / 428.3 MB, free: 12.72 MB / 410.7 MB Notification: Performance of Templates: time 0.005536/0.0303, allocations: 6.099 MB / 434.4 MB, free: 6.621 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0899019949138165]