Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 81.47 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 159.1 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 57.69 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09275, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008258/0.101, allocations: 5.852 MB / 384.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.1054, allocations: 2.468 MB / 387.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.1058, allocations: 19.94 kB / 387.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.1087, allocations: 1.248 MB / 388.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.11, allocations: 0.5278 MB / 389 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.1124, allocations: 1.183 MB / 390.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1137, allocations: 1.071 MB / 391.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.1148, allocations: 0.7701 MB / 392.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.1153, allocations: 462.4 kB / 392.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.116, allocations: 485.7 kB / 393 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1161, allocations: 96 kB / 393.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.1169, allocations: 403.6 kB / 393.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.1171, allocations: 231.2 kB / 393.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.1175, allocations: 441.8 kB / 394.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1193, allocations: 1.533 MB / 395.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1193, allocations: 0 / 395.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.1193, allocations: 4 kB / 395.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1193, allocations: 0 / 395.7 MB, free: 14.61 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004427/0.1238, allocations: 1.692 MB / 397.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1238, allocations: 12.03 kB / 397.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/0.1271, allocations: 471.8 kB / 397.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.1278, allocations: 453.2 kB / 398.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.1279, allocations: 82.22 kB / 398.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.1281, allocations: 116 kB / 398.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.1299, allocations: 1.017 MB / 399.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.13, allocations: 8 kB / 399.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1301, allocations: 44 kB / 399.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.1301, allocations: 31.98 kB / 399.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.132, allocations: 0.9496 MB / 400.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005596/0.1376, allocations: 2.94 MB / 403.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.1394, allocations: 0.8096 MB / 404.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.1402, allocations: 399.5 kB / 404.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.931e-05/0.1403, allocations: 28.98 kB / 404.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009162/0.1412, allocations: 0.5213 MB / 405.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.465e-06/0.1412, allocations: 0 / 405.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009253/0.1504, allocations: 3.699 MB / 408.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1505, allocations: 153.5 kB / 409.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.151, allocations: 381.5 kB / 409.4 MB, free: 496 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.1511, allocations: 49.69 kB / 409.5 MB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.1515, allocations: 445 kB / 409.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.1518, allocations: 440.1 kB / 410.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.1521, allocations: 210.9 kB / 410.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1523, allocations: 374.8 kB / 410.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.1531, allocations: 346.5 kB / 411.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009521/0.154, allocations: 0.5853 MB / 411.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.1557, allocations: 0.9309 MB / 412.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1557, allocations: 0 / 412.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002709/0.1584, allocations: 1.363 MB / 414.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1585, allocations: 14.91 kB / 414.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1585, allocations: 4 kB / 414.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009234/0.1594, allocations: 351.1 kB / 414.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/0.1603, allocations: 203.7 kB / 414.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00882/0.1691, allocations: 7.892 MB / 422.6 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.1698, allocations: 39.98 kB / 422.6 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.1699, allocations: 51.98 kB / 422.7 MB, free: 2.656 MB / 382.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.0004268/0.1703, allocations: 253.7 kB / 422.9 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1704, allocations: 71.58 kB / 423 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.1731, allocations: 1.281 MB / 424.3 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.1731, allocations: 15.94 kB / 424.3 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.1732, allocations: 8 kB / 424.3 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.1732, allocations: 7.969 kB / 424.3 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.1773, allocations: 2.202 MB / 426.5 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.1773, allocations: 4 kB / 426.5 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.178, allocations: 155.9 kB / 426.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008315/0.1788, allocations: 330.3 kB / 427 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.1789, allocations: 27.98 kB / 427 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007997/0.1869, allocations: 7.529 MB / 434.5 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1869, allocations: 3.938 kB / 434.5 MB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.1903, allocations: 1.802 MB / 436.3 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.1906, allocations: 147.5 kB / 436.5 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.1907, allocations: 24 kB / 436.5 MB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.1912, allocations: 35.98 kB / 436.5 MB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.1914, allocations: 112.7 kB / 436.7 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.1915, allocations: 35.98 kB / 436.7 MB, free: 4.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.1918, allocations: 255.2 kB / 436.9 MB, free: 3.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1918, allocations: 0 / 436.9 MB, free: 3.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00115/0.1929, allocations: 319.9 kB / 437.3 MB, free: 3.516 MB / 398.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.0003028/0.1932, allocations: 183 kB / 437.4 MB, free: 3.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.1959, allocations: 1.541 MB / 439 MB, free: 1.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1959, allocations: 0 / 439 MB, free: 1.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.1976, allocations: 1.108 MB / 440.1 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1981, allocations: 88.17 kB / 440.2 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.2018, allocations: 1.923 MB / 442.1 MB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.2024, allocations: 436 kB / 442.5 MB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000422/0.2028, allocations: 94.02 kB / 442.6 MB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.203, allocations: 68.47 kB / 442.7 MB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.203, allocations: 0 / 442.7 MB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.0216/0.2246, allocations: 11.16 MB / 453.8 MB, free: 2.809 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.175269695930183]