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.001346/0.001346, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001276/0.001276, allocations: 170.7 kB / 24.82 MB, free: 9.305 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.9627/0.9627, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.13e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005929/0.005951, allocations: 6.286 MB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.009626, allocations: 2.523 MB / 282.2 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.01023, allocations: 23.94 kB / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.01197, allocations: 1.302 MB / 283.5 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.01326, allocations: 0.547 MB / 284.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.01502, allocations: 1.187 MB / 285.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01612, allocations: 1.117 MB / 286.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009707/0.01709, allocations: 0.7661 MB / 287.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007016/0.01779, allocations: 0.6587 MB / 287.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.01826, allocations: 422.8 kB / 288.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.01839, allocations: 100 kB / 288.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.0191, allocations: 407.3 kB / 288.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01924, allocations: 239.1 kB / 288.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.01952, allocations: 363.1 kB / 289.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.02069, allocations: 1.094 MB / 290.4 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.0207, allocations: 0 / 290.4 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0207, allocations: 0 / 290.4 MB, free: 212 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.02071, allocations: 0 / 290.4 MB, free: 212 kB / 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.1195/0.1402, allocations: 1.833 MB / 292.2 MB, free: 18.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1403, allocations: 9.125 kB / 292.2 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.1429, allocations: 0.6355 MB / 292.9 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.1434, allocations: 453.1 kB / 293.3 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.1435, allocations: 84.41 kB / 293.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.1437, allocations: 116.8 kB / 293.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.1448, allocations: 0.6892 MB / 294.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.1448, allocations: 6.281 kB / 294.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.1449, allocations: 42.72 kB / 294.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.1449, allocations: 29.66 kB / 294.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.1457, allocations: 446.8 kB / 294.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.1497, allocations: 2.787 MB / 297.5 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1508, allocations: 0.6675 MB / 298.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.1512, allocations: 244.9 kB / 298.4 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.1513, allocations: 42.88 kB / 298.4 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.1518, allocations: 417.1 kB / 298.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.617e-06/0.1518, allocations: 3.156 kB / 298.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004566/0.1563, allocations: 2.537 MB / 301.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1564, allocations: 145 kB / 301.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1567, allocations: 420.9 kB / 301.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.1567, allocations: 47.02 kB / 302 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1569, allocations: 489.8 kB / 302.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.1571, allocations: 450.2 kB / 302.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1573, allocations: 222.8 kB / 303.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.1574, allocations: 0.5703 MB / 303.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/0.1607, allocations: 148.2 kB / 303.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.1611, allocations: 474.5 kB / 304.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.1617, allocations: 0.6238 MB / 304.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1617, allocations: 0 / 304.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001283/0.163, allocations: 0.9882 MB / 305.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1631, allocations: 7 kB / 305.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1631, allocations: 6.156 kB / 305.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006842/0.1699, allocations: 376.4 kB / 306.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.1704, allocations: 203.3 kB / 306.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009735/0.1801, allocations: 9.166 MB / 315.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1805, allocations: 42.8 kB / 315.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.1806, allocations: 38.41 kB / 315.7 MB, free: 5.113 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 (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.0001969/0.1808, allocations: 223.9 kB / 315.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1809, allocations: 114.3 kB / 316.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007117/0.188, allocations: 0.9164 MB / 317 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.188, allocations: 14.25 kB / 317 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.188, allocations: 12 kB / 317 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.188, allocations: 7.969 kB / 317 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.19, allocations: 1.768 MB / 318.8 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.19, allocations: 4 kB / 318.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006401/0.1964, allocations: 150 kB / 318.9 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.1971, allocations: 354.6 kB / 319.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.1972, allocations: 35.98 kB / 319.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.2079, allocations: 8.804 MB / 328.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2079, allocations: 0 / 328.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007537/0.2154, allocations: 1.271 MB / 329.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.2156, allocations: 143.6 kB / 329.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.2157, allocations: 27.98 kB / 329.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.216, allocations: 35.98 kB / 329.6 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.2161, allocations: 111.5 kB / 329.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.2162, allocations: 24 kB / 329.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.2163, allocations: 256.8 kB / 330 MB, free: 7.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2163, allocations: 0 / 330 MB, free: 7.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.007272/0.2236, allocations: 323.9 kB / 330.3 MB, free: 6.723 MB / 282.7 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.0002539/0.2239, allocations: 172.3 kB / 330.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.2254, allocations: 1.491 MB / 331.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2254, allocations: 0 / 331.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003576/0.229, allocations: 1.206 MB / 333.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.2295, allocations: 84.28 kB / 333.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.2318, allocations: 1.753 MB / 335 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.232, allocations: 211.6 kB / 335.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.2322, allocations: 102 kB / 335.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.2324, allocations: 174.2 kB / 335.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2324, allocations: 4 kB / 335.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of Templates: time 0.01689/0.2493, allocations: 12.29 MB / 347.8 MB, free: 5.328 MB / 298.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: 3.024303875863552]