Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.0008204/0.0008204, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008871/0.0008871, allocations: 174.3 kB / 23.97 MB, free: 0.5977 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.9087/0.9087, allocations: 158.6 MB / 185.7 MB, free: 3.055 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.131/0.131, allocations: 32.38 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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.043e-05, allocations: 6.219 kB / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002384/0.002404, allocations: 2.256 MB / 410.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.003401, allocations: 0.772 MB / 411.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.003536, allocations: 7.938 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.003752, allocations: 55.52 kB / 411.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.003952, allocations: 111.1 kB / 411.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.004136, allocations: 91.86 kB / 411.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.004379, allocations: 350.6 kB / 411.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.004525, allocations: 64.83 kB / 411.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.004728, allocations: 207.5 kB / 412 MB, free: 13.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.004842, allocations: 115.7 kB / 412.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.004882, allocations: 28 kB / 412.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.659e-05/0.004909, allocations: 28 kB / 412.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.004951, allocations: 71.73 kB / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.005025, allocations: 99.8 kB / 412.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.005311, allocations: 370.8 kB / 412.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005314, allocations: 0 / 412.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005315, allocations: 0 / 412.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.00532, allocations: 3.938 kB / 412.7 MB, free: 13.12 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006745/0.005995, allocations: 0.544 MB / 413.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.00603, allocations: 16.02 kB / 413.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.00608, allocations: 32.7 kB / 413.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.006329, allocations: 201.2 kB / 413.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.006351, allocations: 20.81 kB / 413.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.00638, allocations: 24.38 kB / 413.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.006716, allocations: 248.6 kB / 413.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.006726, allocations: 192 / 413.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.006746, allocations: 8.375 kB / 413.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.006754, allocations: 15.94 kB / 413.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.007058, allocations: 225.9 kB / 414 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.00793, allocations: 0.7309 MB / 414.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.008282, allocations: 290.4 kB / 415 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.008442, allocations: 124.8 kB / 415.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.008467, allocations: 4 kB / 415.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.00849, allocations: 38.56 kB / 415.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.008491, allocations: 0 / 415.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.002349/0.01084, allocations: 0.945 MB / 416.1 MB, free: 9.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.01088, allocations: 59.34 kB / 416.2 MB, free: 9.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01102, allocations: 222.2 kB / 416.4 MB, free: 9.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.01104, allocations: 29.7 kB / 416.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.01112, allocations: 164.7 kB / 416.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.01118, allocations: 107.1 kB / 416.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01124, allocations: 53.5 kB / 416.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.01133, allocations: 338.8 kB / 417.1 MB, free: 8.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.01147, allocations: 91.95 kB / 417.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.01161, allocations: 125.8 kB / 417.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.01188, allocations: 231.3 kB / 417.5 MB, free: 8.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01188, allocations: 0 / 417.5 MB, free: 8.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008455/0.01273, allocations: 0.5326 MB / 418.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01274, allocations: 11.92 kB / 418.1 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01275, allocations: 0 / 418.1 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007107/0.01346, allocations: 311.1 kB / 418.4 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.01355, allocations: 31.91 kB / 418.4 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/0.01799, allocations: 6.269 MB / 424.7 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.01808, allocations: 31.86 kB / 424.7 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.01809, allocations: 8 kB / 424.7 MB, free: 464 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.01819, allocations: 138.5 kB / 424.8 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.01822, allocations: 23.86 kB / 424.9 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.01904, allocations: 0.5423 MB / 425.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01905, allocations: 4 kB / 425.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.01905, allocations: 0 / 425.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01905, allocations: 0 / 425.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.01925, allocations: 257 kB / 425.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01925, allocations: 0 / 425.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.01931, allocations: 23.98 kB / 425.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000632/0.01994, allocations: 307.2 kB / 426 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01995, allocations: 15.92 kB / 426 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.02395, allocations: 6.334 MB / 432.3 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02396, allocations: 32 / 432.3 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.02476, allocations: 0.6205 MB / 433 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.02478, allocations: 23.8 kB / 433 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.02479, allocations: 11.89 kB / 433 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.02488, allocations: 15.98 kB / 433 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.02494, allocations: 31.94 kB / 433 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.02495, allocations: 11.98 kB / 433 MB, free: 7.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.007e-05/0.02504, allocations: 165.2 kB / 433.2 MB, free: 7.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02504, allocations: 0 / 433.2 MB, free: 7.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.02536, allocations: 115.9 kB / 433.3 MB, free: 7.332 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.121e-05/0.02545, allocations: 99.19 kB / 433.4 MB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.02604, allocations: 0.7405 MB / 434.2 MB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02604, allocations: 0 / 434.2 MB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.0266, allocations: 0.7094 MB / 434.9 MB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.0268, allocations: 28.44 kB / 434.9 MB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.02746, allocations: 0.5667 MB / 435.5 MB, free: 5.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02756, allocations: 163.2 kB / 435.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.0276, allocations: 12.5 kB / 435.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0276, allocations: 0 / 435.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of Templates: time 0.006522/0.03412, allocations: 8.123 MB / 443.8 MB, free: 12.72 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.127393553964794]