Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0009382/0.0009382, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001505/0.001505, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.895/0.895, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.62e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005087/0.005103, allocations: 6.29 MB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.007928, allocations: 2.619 MB / 282.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.0082, allocations: 23.94 kB / 282.4 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.009673, allocations: 1.353 MB / 283.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000767/0.01044, allocations: 0.5587 MB / 284.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.01167, allocations: 1.21 MB / 285.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.0124, allocations: 1.117 MB / 286.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007231/0.01313, allocations: 0.8208 MB / 287.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.01361, allocations: 0.6549 MB / 288.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.01401, allocations: 434.8 kB / 288.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.0141, allocations: 96 kB / 288.6 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.01453, allocations: 399.3 kB / 289 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.01467, allocations: 247.1 kB / 289.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.01489, allocations: 359.1 kB / 289.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.09443/0.1093, allocations: 1.085 MB / 290.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1093, allocations: 0 / 290.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1093, allocations: 1.188 kB / 290.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.1094, allocations: 0 / 290.7 MB, free: 17.9 MB / 266.7 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.002511/0.1119, allocations: 1.632 MB / 292.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.1119, allocations: 11.91 kB / 292.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.1139, allocations: 0.6693 MB / 293 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.1144, allocations: 318.1 kB / 293.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.1144, allocations: 83.31 kB / 293.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1146, allocations: 114.7 kB / 293.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008504/0.1154, allocations: 0.7008 MB / 294.2 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.1154, allocations: 9.969 kB / 294.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.1155, allocations: 46.75 kB / 294.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1155, allocations: 29.03 kB / 294.3 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.1161, allocations: 373.4 kB / 294.6 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.119, allocations: 2.312 MB / 296.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.1198, allocations: 0.5925 MB / 297.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.12, allocations: 216 kB / 297.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.823e-05/0.1201, allocations: 42.84 kB / 297.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.1204, allocations: 390.2 kB / 298.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 6.693e-06/0.1204, allocations: 3.469 kB / 298.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003368/0.1238, allocations: 2.182 MB / 300.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1238, allocations: 145.2 kB / 300.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.124, allocations: 345.4 kB / 300.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1241, allocations: 41.42 kB / 300.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1242, allocations: 415.9 kB / 301.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1243, allocations: 367.7 kB / 301.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1245, allocations: 180 kB / 301.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.1245, allocations: 377.6 kB / 302.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1247, allocations: 114.8 kB / 302.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.1249, allocations: 359.4 kB / 302.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.1253, allocations: 0.4904 MB / 303.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1253, allocations: 2.531 kB / 303.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.000619/0.1259, allocations: 0.642 MB / 303.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1259, allocations: 6.375 kB / 303.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1259, allocations: 5.906 kB / 303.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/0.1263, allocations: 215.1 kB / 304 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.1267, allocations: 195.9 kB / 304.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1283, allocations: 4.483 MB / 308.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1286, allocations: 36.94 kB / 308.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.1286, allocations: 32.27 kB / 308.8 MB, free: 10.08 MB / 266.7 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.1287, allocations: 174.9 kB / 308.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.1288, allocations: 76.38 kB / 309 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.1294, allocations: 0.597 MB / 309.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1294, allocations: 9.719 kB / 309.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1294, allocations: 8.969 kB / 309.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1294, allocations: 7.594 kB / 309.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1305, allocations: 1.078 MB / 310.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1305, allocations: 0 / 310.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.1308, allocations: 144.7 kB / 310.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/0.1312, allocations: 213.8 kB / 311 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.1312, allocations: 21.44 kB / 311.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.1327, allocations: 4.481 MB / 315.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1327, allocations: 3.281 kB / 315.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.1333, allocations: 0.8276 MB / 316.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1335, allocations: 70.72 kB / 316.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.1335, allocations: 20.12 kB / 316.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1337, allocations: 35.98 kB / 316.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.1338, allocations: 80.06 kB / 316.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1338, allocations: 23.98 kB / 316.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.1339, allocations: 133.6 kB / 316.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1339, allocations: 4 kB / 316.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.1344, allocations: 268 kB / 317 MB, free: 3.715 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.1346, allocations: 148.6 kB / 317.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006267/0.1352, allocations: 0.9189 MB / 318.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.1352, allocations: 8.062 kB / 318.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.1356, allocations: 0.7178 MB / 318.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1358, allocations: 74.44 kB / 318.9 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1374, allocations: 1.559 MB / 320.4 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.1376, allocations: 190.3 kB / 320.6 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.1378, allocations: 97.2 kB / 320.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.138, allocations: 143.3 kB / 320.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.138, allocations: 0 / 320.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Templates: time 0.01239/0.1504, allocations: 9.734 MB / 330.6 MB, free: 6.281 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8699150141328573]