Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.00187/0.00187, allocations: 71.75 kB / 21.24 MB, free: 404 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.002345/0.002345, 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 55.84 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08857, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007993/0.09657, allocations: 5.941 MB / 384.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.1006, allocations: 2.32 MB / 387.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1009, allocations: 24 kB / 387.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.105, allocations: 1.835 MB / 389 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.1062, allocations: 0.5472 MB / 389.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.1088, allocations: 1.25 MB / 390.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1101, allocations: 1.129 MB / 392 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.1113, allocations: 0.8175 MB / 392.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.1119, allocations: 498.1 kB / 393.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.1126, allocations: 0.5483 MB / 393.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.1128, allocations: 100 kB / 393.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.1136, allocations: 423.6 kB / 394.3 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.1138, allocations: 247.1 kB / 394.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.1142, allocations: 469.8 kB / 395 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.1161, allocations: 1.677 MB / 396.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1161, allocations: 0 / 396.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1161, allocations: 0 / 396.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1161, allocations: 0 / 396.7 MB, free: 13.8 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006313/0.1224, allocations: 1.983 MB / 398.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1224, allocations: 8.031 kB / 398.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/0.1261, allocations: 491.8 kB / 399.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1264, allocations: 256.8 kB / 399.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.652e-05/0.1265, allocations: 98.95 kB / 399.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.1267, allocations: 132.3 kB / 399.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.1291, allocations: 1.321 MB / 401 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.1292, allocations: 4 kB / 401 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.1293, allocations: 55.98 kB / 401 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.1293, allocations: 32 kB / 401.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.1319, allocations: 1.181 MB / 402.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00633/0.1382, allocations: 3.336 MB / 405.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.1404, allocations: 1.143 MB / 406.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009565/0.1414, allocations: 460.7 kB / 407.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1415, allocations: 44.91 kB / 407.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1416, allocations: 47.56 kB / 407.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.975e-06/0.1416, allocations: 0 / 407.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0107/0.1523, allocations: 3.532 MB / 410.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.1523, allocations: 94.09 kB / 410.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1528, allocations: 389.3 kB / 411.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.1529, allocations: 45.7 kB / 411.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.1532, allocations: 468.6 kB / 411.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.1535, allocations: 452.1 kB / 412.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.1539, allocations: 231.5 kB / 412.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1541, allocations: 370.8 kB / 412.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.1552, allocations: 435.7 kB / 413.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.1565, allocations: 0.7208 MB / 414 MB, free: 12.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.159, allocations: 1.175 MB / 415.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.159, allocations: 0 / 415.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003271/0.1623, allocations: 1.462 MB / 416.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1623, allocations: 11.94 kB / 416.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1623, allocations: 12.16 kB / 416.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.1629, allocations: 197.6 kB / 416.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.1642, allocations: 283.6 kB / 417.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.1688, allocations: 4.06 MB / 421.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.1696, allocations: 87.91 kB / 421.2 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.1697, allocations: 55.92 kB / 421.3 MB, free: 4.488 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004031/0.1701, allocations: 269.5 kB / 421.6 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.1703, allocations: 67.58 kB / 421.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.1734, allocations: 1.323 MB / 422.9 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.1734, allocations: 12 kB / 423 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1734, allocations: 4 kB / 423 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.1734, allocations: 7.969 kB / 423 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.178, allocations: 2.185 MB / 425.2 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.178, allocations: 4 kB / 425.2 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.179, allocations: 207.9 kB / 425.4 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.1794, allocations: 173.5 kB / 425.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.1795, allocations: 27.98 kB / 425.6 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.1836, allocations: 3.889 MB / 429.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1836, allocations: 7.938 kB / 429.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00402/0.1876, allocations: 1.861 MB / 431.3 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.1879, allocations: 155.6 kB / 431.5 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.188, allocations: 24 kB / 431.5 MB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.1887, allocations: 55.95 kB / 431.5 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.1889, allocations: 96.75 kB / 431.6 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.189, allocations: 39.98 kB / 431.7 MB, free: 9.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.1893, allocations: 255.2 kB / 431.9 MB, free: 9.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 0 / 431.9 MB, free: 9.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001091/0.1903, allocations: 308 kB / 432.2 MB, free: 9.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003071/0.1907, allocations: 171 kB / 432.4 MB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.1937, allocations: 1.387 MB / 433.8 MB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1937, allocations: 0 / 433.8 MB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.1952, allocations: 0.8193 MB / 434.6 MB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.1957, allocations: 76.86 kB / 434.7 MB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.1999, allocations: 1.881 MB / 436.6 MB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.2004, allocations: 416.3 kB / 437 MB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000561/0.2009, allocations: 146.6 kB / 437.1 MB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.2012, allocations: 76.47 kB / 437.2 MB, free: 4.141 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2012, allocations: 4 kB / 437.2 MB, free: 4.137 MB / 398.1 MB Notification: Performance of Templates: time 0.02025/0.2214, allocations: 10.28 MB / 447.5 MB, free: 9.984 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.734806791995652]