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.00129/0.00129, allocations: 83.03 kB / 20.52 MB, free: 1.277 MB / 14.72 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.001367/0.001367, allocations: 163.3 kB / 23.76 MB, free: 4.473 MB / 14.72 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 1.555/1.555, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] 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.2284/0.2284, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 71.89 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1444, allocations: 61.04 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005299/0.1497, allocations: 3.14 MB / 471.9 MB, free: 5.172 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1515, allocations: 0.8146 MB / 472.7 MB, free: 4.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.1517, allocations: 11.94 kB / 472.8 MB, free: 4.336 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.152, allocations: 75.23 kB / 472.8 MB, free: 4.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1522, allocations: 130.8 kB / 473 MB, free: 4.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1527, allocations: 127.8 kB / 473.1 MB, free: 4.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.1533, allocations: 0.5179 MB / 473.6 MB, free: 3.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.1536, allocations: 166.4 kB / 473.8 MB, free: 3.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.154, allocations: 219.3 kB / 474 MB, free: 3.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.1543, allocations: 202.9 kB / 474.2 MB, free: 2.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.1544, allocations: 48 kB / 474.2 MB, free: 2.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1545, allocations: 51.94 kB / 474.3 MB, free: 2.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1547, allocations: 111.7 kB / 474.4 MB, free: 2.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.1549, allocations: 203.1 kB / 474.6 MB, free: 2.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000861/0.1558, allocations: 0.5563 MB / 475.1 MB, free: 1.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.1558, allocations: 7.938 kB / 475.1 MB, free: 1.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1558, allocations: 4 kB / 475.1 MB, free: 1.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1558, allocations: 0 / 475.1 MB, free: 1.93 MB / 446.1 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.001633/0.1575, allocations: 0.6922 MB / 475.8 MB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.1575, allocations: 12.02 kB / 475.8 MB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.1576, allocations: 52.61 kB / 475.9 MB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.1582, allocations: 251.8 kB / 476.1 MB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.1582, allocations: 41.38 kB / 476.2 MB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.1583, allocations: 56.27 kB / 476.2 MB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.1593, allocations: 0.5029 MB / 476.7 MB, free: 256 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1593, allocations: 0 / 476.7 MB, free: 256 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.1593, allocations: 28 kB / 476.8 MB, free: 228 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.1593, allocations: 11.98 kB / 476.8 MB, free: 216 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3329/0.4922, allocations: 319.3 kB / 477.1 MB, free: 50.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.4945, allocations: 1.453 MB / 478.5 MB, free: 49.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.495, allocations: 226 kB / 478.8 MB, free: 49.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.4953, allocations: 129.7 kB / 478.9 MB, free: 49.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4953, allocations: 6.469 kB / 478.9 MB, free: 49.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4953, allocations: 36.97 kB / 478.9 MB, free: 49.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.4953, allocations: 0 / 478.9 MB, free: 49.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002643/0.498, allocations: 1.118 MB / 480.1 MB, free: 49.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.498, allocations: 83.36 kB / 480.1 MB, free: 49.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.4983, allocations: 258.6 kB / 480.4 MB, free: 48.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4983, allocations: 30.58 kB / 480.4 MB, free: 48.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.4984, allocations: 267.6 kB / 480.7 MB, free: 48.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.4985, allocations: 129.9 kB / 480.8 MB, free: 48.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4986, allocations: 76.81 kB / 480.9 MB, free: 48.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.4987, allocations: 339.5 kB / 481.2 MB, free: 48.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4989, allocations: 110.7 kB / 481.3 MB, free: 48.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.4993, allocations: 210.9 kB / 481.5 MB, free: 48.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.4998, allocations: 352.2 kB / 481.9 MB, free: 48.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4998, allocations: 0 / 481.9 MB, free: 48.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007049/0.5005, allocations: 423.5 kB / 482.3 MB, free: 47.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5005, allocations: 9.672 kB / 482.3 MB, free: 47.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5005, allocations: 3.25 kB / 482.3 MB, free: 47.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.5007, allocations: 28.02 kB / 482.3 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.5011, allocations: 117.8 kB / 482.4 MB, free: 47.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.5019, allocations: 1.311 MB / 483.8 MB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.5021, allocations: 21.09 kB / 483.8 MB, free: 46.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.5021, allocations: 18.25 kB / 483.8 MB, free: 46.54 MB / 446.1 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.0001746/0.5023, allocations: 171.4 kB / 484 MB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.5024, allocations: 31.91 kB / 484 MB, free: 46.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.5024, allocations: 36.64 kB / 484 MB, free: 46.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5024, allocations: 8.375 kB / 484 MB, free: 46.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5025, allocations: 0 / 484 MB, free: 46.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5025, allocations: 3.328 kB / 484 MB, free: 46.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008742/0.5033, allocations: 0.5807 MB / 484.6 MB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5033, allocations: 3.219 kB / 484.6 MB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.5037, allocations: 94.48 kB / 484.7 MB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-05/0.5038, allocations: 27.45 kB / 484.7 MB, free: 45.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.5038, allocations: 7.312 kB / 484.7 MB, free: 45.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006596/0.5045, allocations: 1.299 MB / 486 MB, free: 44.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5045, allocations: 0 / 486 MB, free: 44.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.5053, allocations: 0.6138 MB / 486.7 MB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.5054, allocations: 44.38 kB / 486.7 MB, free: 44.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.5054, allocations: 13.02 kB / 486.7 MB, free: 44.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.5057, allocations: 17.3 kB / 486.7 MB, free: 44.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.5057, allocations: 27.89 kB / 486.8 MB, free: 44.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.5058, allocations: 16.38 kB / 486.8 MB, free: 44.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.5059, allocations: 179.2 kB / 486.9 MB, free: 44.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5059, allocations: 0 / 486.9 MB, free: 44.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004763/0.5064, allocations: 94.84 kB / 487 MB, free: 44.12 MB / 446.1 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.0001075/0.5065, allocations: 101.1 kB / 487.1 MB, free: 44.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.5073, allocations: 397.5 kB / 487.5 MB, free: 43.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5073, allocations: 0 / 487.5 MB, free: 43.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.5076, allocations: 241.7 kB / 487.8 MB, free: 43.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.508, allocations: 41.25 kB / 487.8 MB, free: 43.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.5095, allocations: 0.9034 MB / 488.7 MB, free: 43.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.5097, allocations: 216.7 kB / 488.9 MB, free: 42.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.5098, allocations: 35.78 kB / 489 MB, free: 42.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.5099, allocations: 24.19 kB / 489 MB, free: 42.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5099, allocations: 3.312 kB / 489 MB, free: 42.98 MB / 446.1 MB Notification: Performance of Templates: time 0.007453/0.5173, allocations: 2.854 MB / 491.8 MB, free: 42.63 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/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.780184790957719]