Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.91 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 49.43 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008767/0.1143, allocations: 6.459 MB / 414.6 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.1193, allocations: 2.55 MB / 417.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.1201, allocations: 20 kB / 417.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.1233, allocations: 1.267 MB / 418.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.1253, allocations: 0.6795 MB / 419.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.1277, allocations: 1.105 MB / 420.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.1293, allocations: 1.071 MB / 421.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.1307, allocations: 0.8992 MB / 422.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.1314, allocations: 438.4 kB / 422.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.1321, allocations: 0.5406 MB / 423.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.1322, allocations: 96 kB / 423.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.1332, allocations: 411.6 kB / 423.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.1334, allocations: 231.1 kB / 423.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005172/0.1339, allocations: 0.517 MB / 424.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.136, allocations: 1.51 MB / 425.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.136, allocations: 0 / 425.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.136, allocations: 0 / 425.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.1361, allocations: 0 / 425.9 MB, free: 4.973 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004546/0.1406, allocations: 1.661 MB / 427.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1407, allocations: 8.031 kB / 427.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.1438, allocations: 479.8 kB / 428 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.1447, allocations: 0.4945 MB / 428.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.1447, allocations: 82.22 kB / 428.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1449, allocations: 112 kB / 428.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.1468, allocations: 0.9667 MB / 429.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.1469, allocations: 4 kB / 429.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.147, allocations: 47.98 kB / 429.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.147, allocations: 31.94 kB / 429.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.1489, allocations: 0.9613 MB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1902/0.3392, allocations: 3.669 MB / 434.4 MB, free: 20.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.3409, allocations: 1.559 MB / 435.9 MB, free: 19.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.3416, allocations: 432.8 kB / 436.3 MB, free: 19.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.3417, allocations: 102.4 kB / 436.4 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007989/0.3425, allocations: 470.9 kB / 436.9 MB, free: 19.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.505e-06/0.3425, allocations: 1.969 kB / 436.9 MB, free: 19.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008969/0.3515, allocations: 4.024 MB / 440.9 MB, free: 18.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3516, allocations: 142.5 kB / 441.1 MB, free: 18.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.3521, allocations: 395.1 kB / 441.5 MB, free: 18.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.3522, allocations: 48.61 kB / 441.5 MB, free: 18.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.3525, allocations: 433.5 kB / 441.9 MB, free: 18.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.3527, allocations: 445.6 kB / 442.4 MB, free: 17.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.353, allocations: 199.4 kB / 442.6 MB, free: 17.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.3532, allocations: 381.2 kB / 442.9 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.3539, allocations: 354.9 kB / 443.3 MB, free: 17.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.3546, allocations: 0.5443 MB / 443.8 MB, free: 17.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.3561, allocations: 0.9466 MB / 444.8 MB, free: 17.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3562, allocations: 5.469 kB / 444.8 MB, free: 17.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002522/0.3587, allocations: 1.389 MB / 446.2 MB, free: 16.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3587, allocations: 8.656 kB / 446.2 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3587, allocations: 5.766 kB / 446.2 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.3596, allocations: 347.5 kB / 446.5 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/0.3605, allocations: 204.1 kB / 446.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006339/0.3668, allocations: 8.485 MB / 455.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.3677, allocations: 51.39 kB / 455.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.3678, allocations: 44.08 kB / 455.3 MB, free: 8.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004164/0.3682, allocations: 259.4 kB / 455.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3683, allocations: 77.19 kB / 455.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.3708, allocations: 1.306 MB / 456.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3708, allocations: 12.45 kB / 456.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3708, allocations: 15.16 kB / 457 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.3709, allocations: 7.656 kB / 457 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.375, allocations: 2.524 MB / 459.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.375, allocations: 2.469 kB / 459.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.3757, allocations: 155.5 kB / 459.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007815/0.3765, allocations: 324.3 kB / 460 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.3766, allocations: 30.25 kB / 460 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005939/0.3825, allocations: 8.125 MB / 468.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3825, allocations: 0 / 468.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.3858, allocations: 1.831 MB / 469.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.3862, allocations: 231.8 kB / 470.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3863, allocations: 26.19 kB / 470.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.3868, allocations: 37.12 kB / 470.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.387, allocations: 100.7 kB / 470.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.3871, allocations: 36.55 kB / 470.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.3874, allocations: 274.1 kB / 470.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3875, allocations: 0 / 470.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001242/0.3887, allocations: 310.2 kB / 470.9 MB, free: 14.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003236/0.389, allocations: 172.5 kB / 471.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.392, allocations: 1.624 MB / 472.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.392, allocations: 4.969 kB / 472.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.3938, allocations: 1.154 MB / 473.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.3944, allocations: 74.48 kB / 474 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.3982, allocations: 1.999 MB / 476 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.399, allocations: 1.021 MB / 477 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3993, allocations: 63.42 kB / 477 MB, free: 9.523 MB / 366.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3993, allocations: 0 / 477 MB, free: 9.523 MB / 366.1 MB Notification: Performance of Templates: time 0.03074/0.43, allocations: 26.28 MB / 0.4915 GB, free: 15.19 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 8.93989443697501]