Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001324/0.001324, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001421/0.001421, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 55.48 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08729, allocations: 53.35 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006377/0.09366, allocations: 4.58 MB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.09693, allocations: 2.016 MB / 385.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.09713, allocations: 16 kB / 385.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.1003, allocations: 1.372 MB / 386.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008959/0.1012, allocations: 421.4 kB / 387.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.1034, allocations: 1.143 MB / 388.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.1043, allocations: 0.7433 MB / 389.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008688/0.1052, allocations: 0.5636 MB / 389.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.1056, allocations: 350.8 kB / 390.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.1061, allocations: 382.3 kB / 390.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1062, allocations: 68 kB / 390.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/0.1069, allocations: 395.6 kB / 390.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.107, allocations: 163.4 kB / 391.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1073, allocations: 318.5 kB / 391.4 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1087, allocations: 1.21 MB / 392.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1087, allocations: 0 / 392.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1087, allocations: 3.938 kB / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1087, allocations: 0 / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004467/0.1132, allocations: 1.41 MB / 394 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1132, allocations: 15.97 kB / 394.1 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.116, allocations: 368.1 kB / 394.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1162, allocations: 209.5 kB / 394.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.1163, allocations: 66.38 kB / 394.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1164, allocations: 80.38 kB / 394.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.1181, allocations: 0.9008 MB / 395.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.1182, allocations: 3.953 kB / 395.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.1182, allocations: 32 kB / 395.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.1183, allocations: 20 kB / 395.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.1201, allocations: 0.7925 MB / 396.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.1243, allocations: 2.296 MB / 398.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1255, allocations: 0.5032 MB / 399.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.126, allocations: 214.2 kB / 399.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-05/0.1261, allocations: 36.41 kB / 399.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1261, allocations: 39.06 kB / 399.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 1.914e-06/0.1261, allocations: 0 / 399.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007601/0.1337, allocations: 2.171 MB / 401.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1338, allocations: 85.61 kB / 401.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.1341, allocations: 319.9 kB / 402.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.1342, allocations: 37.69 kB / 402.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.1344, allocations: 371.9 kB / 402.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.1346, allocations: 222.1 kB / 402.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.1348, allocations: 146.6 kB / 402.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.135, allocations: 350.8 kB / 403.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008001/0.1358, allocations: 269.8 kB / 403.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1368, allocations: 0.5294 MB / 404.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.1386, allocations: 0.8126 MB / 404.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1386, allocations: 0 / 404.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002198/0.1408, allocations: 0.9048 MB / 405.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1409, allocations: 8 kB / 405.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1409, allocations: 8 kB / 405.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.1411, allocations: 77.73 kB / 405.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.142, allocations: 195.7 kB / 406.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.1442, allocations: 2.619 MB / 408.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.1448, allocations: 59.91 kB / 408.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.1449, allocations: 39.98 kB / 408.8 MB, free: 0.9961 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.1451, allocations: 217.7 kB / 409 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.1452, allocations: 43.72 kB / 409 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.1473, allocations: 0.7258 MB / 409.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1473, allocations: 4 kB / 409.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1473, allocations: 0 / 409.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.1473, allocations: 7.938 kB / 409.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.1499, allocations: 1.22 MB / 411 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1499, allocations: 4 kB / 411 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.1506, allocations: 131.8 kB / 411.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.1508, allocations: 61.67 kB / 411.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.1508, allocations: 15.98 kB / 411.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.1529, allocations: 2.584 MB / 413.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1529, allocations: 7.969 kB / 413.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.1556, allocations: 1.074 MB / 414.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.1558, allocations: 91.67 kB / 414.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.1558, allocations: 8 kB / 415 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.1563, allocations: 48.02 kB / 415 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1565, allocations: 48.34 kB / 415 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.1565, allocations: 19.98 kB / 415.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1567, allocations: 215.1 kB / 415.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1567, allocations: 0 / 415.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006705/0.1574, allocations: 180 kB / 415.5 MB, free: 10.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.000258/0.1577, allocations: 159.2 kB / 415.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.1597, allocations: 0.8807 MB / 416.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1597, allocations: 0 / 416.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.1607, allocations: 0.5273 MB / 417 MB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1612, allocations: 36.66 kB / 417.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.1638, allocations: 1.208 MB / 418.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1641, allocations: 282.8 kB / 418.5 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003498/0.1644, allocations: 88.41 kB / 418.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.1646, allocations: 48.48 kB / 418.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1646, allocations: 0 / 418.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of Templates: time 0.0135/0.1781, allocations: 6.47 MB / 425.1 MB, free: 340 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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: 4.485852940939367]