Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.00174/0.00174, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002089/0.002089, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.062 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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.19 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08913, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00668/0.09581, allocations: 4.553 MB / 383.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.09951, allocations: 2.008 MB / 385.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.09971, allocations: 16 kB / 385.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.103, allocations: 1.373 MB / 386.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009578/0.1039, allocations: 421.3 kB / 387.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.1063, allocations: 1.139 MB / 388.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008559/0.1072, allocations: 0.7356 MB / 389.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.1081, allocations: 0.5675 MB / 389.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.1085, allocations: 338.8 kB / 390.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005272/0.109, allocations: 378.3 kB / 390.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1091, allocations: 68 kB / 390.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.1099, allocations: 391.6 kB / 390.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.11, allocations: 171.4 kB / 391 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.1103, allocations: 298.6 kB / 391.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.1118, allocations: 1.214 MB / 392.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1118, allocations: 0 / 392.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1118, allocations: 0 / 392.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1118, allocations: 4 kB / 392.6 MB, free: 2.004 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.004429/0.1162, allocations: 1.398 MB / 394 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1162, allocations: 8.031 kB / 394 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.119, allocations: 380 kB / 394.3 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1192, allocations: 195.4 kB / 394.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.1193, allocations: 66.38 kB / 394.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1194, allocations: 80.38 kB / 394.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.1212, allocations: 0.9011 MB / 395.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.1212, allocations: 3.953 kB / 395.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.1213, allocations: 36 kB / 395.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.1213, allocations: 20 kB / 395.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.1232, allocations: 0.7847 MB / 396.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.1274, allocations: 2.296 MB / 398.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.1285, allocations: 0.5139 MB / 399.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.1291, allocations: 214.2 kB / 399.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.1291, allocations: 32.47 kB / 399.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.1292, allocations: 39.06 kB / 399.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.094e-06/0.1292, allocations: 0 / 399.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007716/0.1369, allocations: 2.167 MB / 401.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.137, allocations: 85.61 kB / 401.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.1373, allocations: 307.9 kB / 402 MB, free: 8.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.1374, allocations: 37.7 kB / 402.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.1376, allocations: 367.9 kB / 402.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1378, allocations: 222.1 kB / 402.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.138, allocations: 154.5 kB / 402.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1382, allocations: 346.8 kB / 403.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007827/0.139, allocations: 269.8 kB / 403.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.14, allocations: 0.5333 MB / 403.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.1419, allocations: 0.801 MB / 404.8 MB, free: 5.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1419, allocations: 4 kB / 404.8 MB, free: 5.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00222/0.1441, allocations: 0.8928 MB / 405.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1441, allocations: 8 kB / 405.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1441, allocations: 8.047 kB / 405.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.1444, allocations: 78.06 kB / 405.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008937/0.1452, allocations: 199.6 kB / 405.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.1475, allocations: 2.615 MB / 408.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.1482, allocations: 67.84 kB / 408.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.1482, allocations: 39.98 kB / 408.7 MB, free: 1.141 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.0003005/0.1485, allocations: 217.7 kB / 408.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.1486, allocations: 39.77 kB / 408.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.1507, allocations: 0.7218 MB / 409.6 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.1507, allocations: 8 kB / 409.6 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1507, allocations: 0 / 409.6 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1507, allocations: 3.984 kB / 409.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.1534, allocations: 1.212 MB / 410.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1534, allocations: 7.875 kB / 410.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.1541, allocations: 127.8 kB / 411 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.1543, allocations: 61.67 kB / 411 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.1543, allocations: 15.98 kB / 411.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.1566, allocations: 2.592 MB / 413.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1566, allocations: 0 / 413.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.1593, allocations: 1.074 MB / 414.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.1595, allocations: 83.69 kB / 414.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.1595, allocations: 12 kB / 414.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.16, allocations: 52 kB / 414.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1602, allocations: 48.41 kB / 414.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.1602, allocations: 19.98 kB / 414.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.1604, allocations: 203 kB / 415.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1604, allocations: 0 / 415.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006712/0.1611, allocations: 179.9 kB / 415.3 MB, free: 10.19 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.0002665/0.1614, allocations: 163.2 kB / 415.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.1634, allocations: 0.8768 MB / 416.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1634, allocations: 0 / 416.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.1645, allocations: 0.5196 MB / 416.9 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1649, allocations: 40.98 kB / 416.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.1675, allocations: 1.196 MB / 418.1 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1678, allocations: 278.6 kB / 418.4 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.1682, allocations: 84.38 kB / 418.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.1684, allocations: 56.47 kB / 418.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1684, allocations: 0 / 418.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of Templates: time 0.01389/0.1822, allocations: 6.381 MB / 424.9 MB, free: 0.5977 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.512712195049971]