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.001379/0.001379, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001323/0.001323, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.4/1.4, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 179] 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 2.635e-06/2.635e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/3.972e-05, allocations: 6.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007568/0.007608, allocations: 5.807 MB / 324.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.01278, allocations: 2.375 MB / 327.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.01355, allocations: 23.31 kB / 327.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.01705, allocations: 1.251 MB / 328.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.01928, allocations: 0.6732 MB / 329.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.02196, allocations: 1.051 MB / 330.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.02401, allocations: 1.112 MB / 331.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.02533, allocations: 0.7695 MB / 332 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.0263, allocations: 0.645 MB / 332.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.02699, allocations: 416.3 kB / 333 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.02719, allocations: 96.81 kB / 333.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.02851, allocations: 387.4 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.02875, allocations: 243.8 kB / 333.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004255/0.02918, allocations: 358.3 kB / 334.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.0311, allocations: 1.557 MB / 335.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.03111, allocations: 0 / 335.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03111, allocations: 7.938 kB / 335.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.03113, allocations: 1.094 kB / 335.7 MB, free: 9.191 MB / 302.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.004558/0.03568, allocations: 1.669 MB / 337.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.03572, allocations: 10.52 kB / 337.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.03913, allocations: 483.8 kB / 337.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000808/0.03994, allocations: 427.9 kB / 338.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/0.04002, allocations: 84.59 kB / 338.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.0402, allocations: 124.7 kB / 338.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.04222, allocations: 1.017 MB / 339.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.04226, allocations: 4.906 kB / 339.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.04236, allocations: 41.84 kB / 339.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.04239, allocations: 27.25 kB / 339.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.04442, allocations: 0.9544 MB / 340.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.05034, allocations: 2.924 MB / 343.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.05223, allocations: 0.8251 MB / 344.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/0.05309, allocations: 395.4 kB / 344.6 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/0.05318, allocations: 24.98 kB / 344.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.05418, allocations: 0.5174 MB / 345.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.075e-06/0.05418, allocations: 0 / 345.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009979/0.06416, allocations: 3.691 MB / 348.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.06428, allocations: 149.4 kB / 349 MB, free: 13.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.06476, allocations: 377.4 kB / 349.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.06484, allocations: 49.7 kB / 349.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.06519, allocations: 429 kB / 349.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.06556, allocations: 440.1 kB / 350.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/0.06589, allocations: 206.9 kB / 350.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.06609, allocations: 374.8 kB / 350.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.06685, allocations: 346.5 kB / 351.2 MB, free: 11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.06782, allocations: 0.5892 MB / 351.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.06957, allocations: 0.9374 MB / 352.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.06957, allocations: 3.938 kB / 352.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002841/0.07241, allocations: 1.363 MB / 354.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.07243, allocations: 4 kB / 354.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.07245, allocations: 7.938 kB / 354.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/0.07342, allocations: 351.1 kB / 354.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.07434, allocations: 215.6 kB / 354.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009228/0.08357, allocations: 7.877 MB / 362.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.08441, allocations: 51.92 kB / 362.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-05/0.0845, allocations: 43.98 kB / 362.6 MB, free: 15.02 MB / 334.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.0004889/0.08499, allocations: 253.8 kB / 362.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.08511, allocations: 75.53 kB / 362.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.08799, allocations: 1.285 MB / 364.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.08801, allocations: 12 kB / 364.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.08802, allocations: 8.125 kB / 364.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.08804, allocations: 15.91 kB / 364.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.09242, allocations: 2.182 MB / 366.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.09243, allocations: 4 kB / 366.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.09319, allocations: 151.8 kB / 366.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.0941, allocations: 333.8 kB / 366.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/0.09417, allocations: 27.98 kB / 366.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008553/0.1027, allocations: 7.513 MB / 374.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1027, allocations: 0 / 374.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.1063, allocations: 1.817 MB / 376.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.1068, allocations: 139.5 kB / 376.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1069, allocations: 27.98 kB / 376.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.1074, allocations: 35.98 kB / 376.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.1077, allocations: 108.6 kB / 376.6 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/0.1077, allocations: 35.98 kB / 376.6 MB, free: 460 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002983/0.108, allocations: 251.2 kB / 376.8 MB, free: 212 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.108, allocations: 0 / 376.8 MB, free: 212 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001253/0.1093, allocations: 320 kB / 377.2 MB, free: 15.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,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.0003514/0.1096, allocations: 177.9 kB / 377.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.1125, allocations: 1.549 MB / 378.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.1125, allocations: 4 kB / 378.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.1143, allocations: 1.096 MB / 380 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1149, allocations: 77.34 kB / 380 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.1185, allocations: 1.862 MB / 381.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.1189, allocations: 428 kB / 382.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.1194, allocations: 97.92 kB / 382.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1195, allocations: 56.48 kB / 382.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of SimCode: time 1.001e-06/0.1195, allocations: 4 kB / 382.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Templates: time 0.02204/0.1416, allocations: 10.87 MB / 393.4 MB, free: 15.57 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.850199043750763]